orElse<F extends Object> abstract method

Result<T, F> orElse<F extends Object>(
  1. Result<T, F> op(
    1. E
    )
)

Calls op with the Err value if the result is Err, otherwise returns this.

Implementation

Result<T, F> orElse<F extends Object>(Result<T, F> Function(E) op);