filter method

  1. @Deprecated('Use where, as it matches the function on Iterable')
Maybe<t> filter(
  1. bool predicate(
    1. t
    )
)
inherited

In case theres a value, keep it in case the predicate is true, otherwise return None.

Implementation

@Deprecated('Use where, as it matches the function on Iterable')
Maybe<T> filter(bool Function(T) predicate /*!*/) => where(predicate);