orElse method

Either<L, R> orElse(
  1. Either<L, R> other()
)

Implementation

Either<L, R> orElse(Either<L, R> other()) => fold((_) => other(), (_) => this);