Checks if an array, object, Set, or Map is empty.
Examples: isEmpty([]) // true isEmpty({}) // true isEmpty(new Map()) // true isEmpty(new Set()) // true isEmpty(['hello']) // false isEmpty({ hello: 'world' }) // false
The value to check for emptiness
True if the value is empty, false otherwise
Checks if an array, object, Set, or Map is empty.
Examples: isEmpty([]) // true isEmpty({}) // true isEmpty(new Map()) // true isEmpty(new Set()) // true isEmpty(['hello']) // false isEmpty({ hello: 'world' }) // false