filterMap<A, B>(f): (fa) => Option<B>
Maps and filters in one operation.
Type Parameters
A: A
The input type.
B: B
The output type.
Parameters
The mapping function that returns an Option.
Returns
A function that filterMaps the Option.
Since
2.0.0