isEmpty
Checks if the a value is an empty object/collection, has no enumerable properties or is any type that is not considered a collection.
- Check if the provided value is
null
or if itslength
is equal to0
.
Checks if the a value is an empty object/collection, has no enumerable properties or is any type that is not considered a collection.
null
or if its length
is equal to 0
.