chore(util) pVarable -> variable

This commit is contained in:
coderaiser 2014-04-10 07:18:16 -04:00
parent 3d10349371
commit 278dc7f67c

View file

@ -610,76 +610,76 @@
};
/**
* functions check is pVarible is array
* @param pVarible
* functions check is variable is array
* @param variable
*/
this.isArray = function(pVarible) {
return pVarible instanceof Array;
this.isArray = function(variable) {
return variable instanceof Array;
};
/**
* functions check is pVarible is ArrayBuffer
* @param pVarible
* functions check is variable is ArrayBuffer
* @param variable
*/
this.isArrayBuffer = function(pVarible) {
return pVarible instanceof ArrayBuffer;
this.isArrayBuffer = function(variable) {
return variable instanceof ArrayBuffer;
};
/**
* functions check is pVarible is boolean
* @param pVarible
* functions check is variable is boolean
* @param variable
*/
this.isBoolean = function(pVarible) {
return Util.isType(pVarible, 'boolean');
this.isBoolean = function(variable) {
return Util.isType(variable, 'boolean');
};
/**
* functions check is pVarible is function
* @param pVarible
* functions check is variable is function
* @param variable
*/
this.isFunction = function(pVarible) {
return Util.isType(pVarible, 'function');
this.isFunction = function(variable) {
return Util.isType(variable, 'function');
};
/**
* functions check is pVarible is number
* @param pVarible
* functions check is variable is number
* @param variable
*/
this.isNumber = function(pVarible) {
return Util.isType(pVarible, 'number');
this.isNumber = function(variable) {
return Util.isType(variable, 'number');
};
/**
* functions check is pVarible is object
* @param pVarible
* functions check is variable is object
* @param variable
*/
this.isObject = function(pVarible) {
return Util.isType(pVarible, 'object');
this.isObject = function(variable) {
return Util.isType(variable, 'object');
};
/**
* functions check is pVarible is string
* @param pVarible
* functions check is variable is string
* @param variable
*/
this.isString = function(pVarible) {
return Util.isType(pVarible, 'string');
this.isString = function(variable) {
return Util.isType(variable, 'string');
};
/**
* functions check is pVarible is string
* @param pVarible
* functions check is variable is string
* @param variable
*/
this.isUndefined = function(pVarible) {
return Util.isType(pVarible, 'undefined');
this.isUndefined = function(variable) {
return Util.isType(variable, 'undefined');
};
/**
* functions check is pVarible is pType
* @param pVarible
* functions check is variable is pType
* @param variable
* @param pType
*/
this.isType = function(pVarible, pType) {
return typeof pVarible === pType;
this.isType = function(variable, pType) {
return typeof variable === pType;
};