//arrow-core/arrow.core/Option/filter
common inline fun filter(predicate: (A) -> Boolean): Option<A>
Returns this $option if it is nonempty ‘'’and’’’ applying the predicate $p to this $option’s value returns true. Otherwise, return $none.
common
predicate | the predicate used for testing. |
Do you like Arrow?
✖