Checks if an Iterable contains any element.
This function will consume the first element
const iterable = [];const result = isEmtpy(iterable);console.log(result); // true
true if the Iterable is empty, otherwise false
true
false
the Iterable value type
the Iterable to check
Generated using TypeDoc
Checks if an Iterable contains any element.
Remarks
This function will consume the first element
Example
Returns
trueif the Iterable is empty, otherwisefalse