ƒ.object - Get-Kraken/fixx GitHub Wiki

ƒ.object.typeOf

typeOf(obj)

returns true/false

example:

ƒ.object.typeOf({data:'foo'}); // → true

ƒ.object.count

count(obj)

returns number of child objects (like [].length)

example:

ƒ.object.count({foo:'foo', bar:'bar'}); // → 2