filter<A>(predicate): (source) => Iterable<A>
Lazily filters elements by a predicate.
Type Parameters
A: A
Element type
Parameters
predicate: (a) => boolean
The filter predicate
Returns
A function that filters an iterable
Since
2.4.0