src code

class method Object.isHash

Object.isHash(object) → Boolean
  • object (Object) – The object to test.

Returns true if object is an instance of the Hash class; false otherwise.

Examples
Object.isHash(new Hash({ }));
//-> true
 Object.isHash($H({ }));
//-> true
 Object.isHash({ });
//-> false