mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
refactor(util) isType
This commit is contained in:
parent
a3af7dcc77
commit
dc581b1555
1 changed files with 4 additions and 4 deletions
|
|
@ -586,12 +586,12 @@
|
|||
};
|
||||
|
||||
/**
|
||||
* functions check is variable is pType
|
||||
* functions check is variable is type
|
||||
* @param variable
|
||||
* @param pType
|
||||
* @param type
|
||||
*/
|
||||
this.isType = function(variable, pType) {
|
||||
return typeof variable === pType;
|
||||
this.isType = function(variable, type) {
|
||||
return typeof variable === type;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue