Returns true if passed argument seems to be empty.
Nil values are empty.
Strings are considered empty when length is 0.
Other primitives will throw an error.
Objects are considered empty when doesn't have any enumerable & own property.
Arrays and array-like objects are considered empty when length value is 0.
Map, Set and -like objects are considered empty when size value is 0.
Returns true if passed argument seems to be empty. Nil values are empty. Strings are considered empty when length is 0. Other primitives will throw an error. Objects are considered empty when doesn't have any enumerable & own property. Arrays and array-like objects are considered empty when length value is 0. Map, Set and -like objects are considered empty when size value is 0.
Example
Example
Example
Example
Example
Example
Example