Package: effect
Module: Iterable
Transforms all elements of the Iterable for as long as the specified function returns some value
Signature
declare const filterMapWhile: { <A, B>(f: (a: A, i: number) => Option<B>): (self: Iterable<A>) => Iterable<B>; <A, B>(self: Iterable<A>, f: (a: A, i: number) => Option<B>): Iterable<B>; }
Since v2.0.0