isEmptyObject

  • function
 

Checks if an object is empty.

Lang.isEmptyObject(obj)

Checks if an object is empty.

Parameters

  1. obj {Object}

    • The object to check for properties.

Returns

{Boolean}

True if the object doesn't have any own properties. Otherwise it returns false.