inspect abstract method

Option<T> inspect(
  1. void onSome(
    1. T
    )
)

Implementation

Option<T> inspect(void Function(T) onSome);