mapSome abstract method

Option<T> mapSome(
  1. @noFuturesAllowed Some<T> noFuturesAllowed(
    1. Some<T> some
    )
)

Transforms the inner Some instance if this is a Some.

Implementation

Option<T> mapSome(
  @noFuturesAllowed Some<T> Function(Some<T> some) noFuturesAllowed,
);