filterNot

inline fun filterNot(predicate: (A) -> Boolean): Option<A>(source)

Returns this $option if it is nonempty '''and''' applying the predicate $p to this $option's value returns false. Otherwise, return $none.

Parameters

predicate

the predicate used for testing.