mapOk abstract method

Result<T> mapOk(
  1. @noFutures Ok<T> noFutures(
    1. Ok<T> ok
    )
)

Transforms the inner Ok instance if this is an Ok.

Implementation

Result<T> mapOk(@noFutures Ok<T> Function(Ok<T> ok) noFutures);