- includes<SearchItem>(searchItem: SearchItem): (<Iterable>(iterable: Iterable) => ReducerOutput<Iterable, boolean>)
-
Returns (<Iterable>(iterable: Iterable) => ReducerOutput<Iterable, boolean>)
-
- <Iterable>(iterable: Iterable): ReducerOutput<Iterable, boolean>
-
Type Parameters
-
Iterable extends AsynchronousIterable<unknown>
Returns ReducerOutput<Iterable, boolean>
Tries to find the given
searchItem
in iterable or asynchronous iterable.Example
Returns
Curried function with
searchItem
set in context.