foreach method

Option<void> foreach(
  1. void f(
    1. T t
    )
)

Implementation

Option<void> foreach(void Function(T t) f) => map((t) => f(t));