Test whether an array is empty.
isEmpty([]);// => true Copy
isEmpty([]);// => true
Type of the array elements.
array
The array to test.
True if the array contains no element, false otherwise.
Test whether an array is empty.
Example