refactor(util) isType

This commit is contained in:
coderaiser 2014-05-23 08:18:15 -04:00
parent a3af7dcc77
commit dc581b1555

View file

@ -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;
};
/**