Checks if the iterable is empty, and emits a boolean flag.
import {pipe, isEmpty} from 'iter-ops';const i = pipe( [], isEmpty());console.log(...i); //=> trueconsole.log(i.first); //=> true Copy
import {pipe, isEmpty} from 'iter-ops';const i = pipe( [], isEmpty());console.log(...i); //=> trueconsole.log(i.first); //=> true
Checks if the iterable is empty, and emits a boolean flag.