or<F2 extends Object> abstract method

Result<S, F2> or<F2 extends Object>(
  1. Result<S, F2> other
)

Performs an "or" operation on the results. Returns the first Ok value, if neither are Ok, returns the other Err.

Implementation

Result<S, F2> or<F2 extends Object>(Result<S, F2> other);