Skip to content

isEmpty

isEmpty(array)

Returns true if array has no elements, otherwise returns false.

ts
isEmpty([]); // true
ts
pipe([], isEmpty()); // true