validate.js
function(value) {
      return v.isObject(value) && !v.isArray(value) && !v.isFunction(value);
    }
function(value) {
      return v.isObject(value) && !v.isArray(value) && !v.isFunction(value);
    }
function ( value ) { return v . isObject ( value ) && ! v . isArray ( value ) && ! v . isFunction ( value ) ; }
Checks if the object is a hash, which is equivalent to an object that is neither an array nor a function.
Checks if the object is a hash which is equivalent to an object that is neither an array nor a function .