filter abstract method
Option<T>
filter(
- @noFutures bool noFutures(
- T value
)
)
Returns None if the predicate noFutures
returns false
.
Otherwise, returns the original Option.
Implementation
Option<T> filter(@noFutures bool Function(T value) noFutures);