mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
fix(util) isObject: array was object
This commit is contained in:
parent
ae33207535
commit
59dac1fe5b
1 changed files with 4 additions and 1 deletions
|
|
@ -650,7 +650,10 @@
|
|||
* @param variable
|
||||
*/
|
||||
this.isObject = function(variable) {
|
||||
return Util.isType(variable, 'object');
|
||||
var type = Util.getType(variable),
|
||||
is = type === 'object';
|
||||
|
||||
return is;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue