filter method
- @Deprecated('Use where, as it matches the function on Iterable')
- bool predicate(
- 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);