diff --git a/lib/util.js b/lib/util.js index 4a54d54f..7b6a82bc 100644 --- a/lib/util.js +++ b/lib/util.js @@ -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; }; /**