filter abstract method

Option<T> filter(
  1. @noFutures bool noFutures(
    1. 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);