Edit This Page

isEmpty()

Determines if an Enumerable is empty.

Returns

(boolean): indicate if the Enumerable is empty.

Example

Enumerable
        .from([])
        .isEmpty();
// true