Checks if an input sync iterable is empty. Returns a boolean value.
A function that accepts an input sync iterable and returns a boolean value.
const input = [1, 2, 3];const empty = isEmptySync()(input);console.log(empty); // Logs false
Available as isEmpty when imported from peter-piper/sync.
isEmpty
peter-piper/sync
Generated using TypeDoc
Checks if an input sync iterable is empty. Returns a boolean value.
Returns
A function that accepts an input sync iterable and returns a boolean value.
Example
Remarks
Available as
isEmpty
when imported frompeter-piper/sync
.