type isEmpty
An AsyncReducer that outputs true if no input values are received, false otherwise.
example
await AsyncStream.of(1, 2, 3).reduce(AsyncReducer.isEmpty))
// => false
Definition
isEmpty: AsyncReducer<any, boolean>
type isEmptyAn AsyncReducer that outputs true if no input values are received, false otherwise.
await AsyncStream.of(1, 2, 3).reduce(AsyncReducer.isEmpty))
// => false
isEmpty: AsyncReducer<any, boolean>