- every<Item, Predicated>(predicate: Predicate<Item, Predicated>): (<Iterable>(iterable: Iterable) => ReducerOutput<Iterable, boolean>)
-
Parameters
-
predicate: Predicate<Item, Predicated>
Returns (<Iterable>(iterable: Iterable) => ReducerOutput<Iterable, boolean>)
-
- <Iterable>(iterable: Iterable): ReducerOutput<Iterable, boolean>
-
Type Parameters
-
Iterable extends AsynchronousIterable<Item>
Returns ReducerOutput<Iterable, boolean>
Evaluates items in an iterable or asynchronous iterable against a predicate and returns
true
if all items evaluates totrue
.Example
Returns
Curried function with
predicate
set in context.