Parameters
-
predicate: Single<Filtered> extends Single<never>
? Unary<Item, boolean>
: Predicate<Item, Filtered>
Returns (<Iterable>(iterable) => GeneratorOutput<Iterable>)
Curried function with predicate
set in context.
-
- <Iterable>(iterable): GeneratorOutput<Iterable>
-
Type Parameters
-
Iterable extends IsomorphicIterable<Item>
Filters items in an iterable or asynchronous iterable against a predicate and returns items that evaluated to
true
.Example