Function: isEmpty()
isEmpty(
collection,options?):boolean
true when a Collection has no elements. Uses length for arrays
and size for Set/Map.
Parameters
Section titled “Parameters”collection
Section titled “collection”Record<string, unknown> | Collection<unknown>
The array, set, or map to test.
options?
Section titled “options?”recursive?
Section titled “recursive?”boolean
Returns
Section titled “Returns”boolean