can.isEmptyObject
Check if an object has no properties.
can.isEmptyObject(obj)
Parameters
-
obj
{Object}
The object to check.
-
Whether
{Boolean}
the object is empty.
Check if an object has no properties.
{Object}
The object to check.
{Boolean}
the object is empty.
can.isEmptyObject(obj)
returns if an object has no properties similar to jQuery.isEmptyObject.