peek abstract method

Result<T, E> peek(
  1. void f(
    1. T
    )
)

Perform a side effect with the success value.

Implementation

Result<T, E> peek(void Function(T) f);