@NonNull abstract fun filter(@NonNull predicate: Predicate<in A>): Maybe<A>
Returns a Nothing
if this Maybe
represents a missing value. Returns a Nothing
if the value does not satisfy the predicate or an Exception
is thrown when testing the predicate. Returns Just
otherwise.