Maps and Sets are not collections, but Stores

They use size instead of length
This commit is contained in:
Robert Mennell
2019-04-13 00:24:37 -07:00
committed by GitHub
parent 14d31fa3a9
commit f343adf77e

View File

@ -1,6 +1,6 @@
### isEmpty
Returns true if the a value is an empty object, collection, map or set, has no enumerable properties or is any type that is not considered a collection.
Returns true 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 its `length` is equal to `0`.