orElse method

Option<A> orElse(
  1. Option<A> other()
)

Implementation

Option<A> orElse(Option<A> other()) => fold(other, (_) => this);