or method

Some<T> or(
  1. Option<T> other
)

Returns the option if it contains a value, otherwise returns other.

Implementation

Some<T> or(Option<T> other) {
  return this;
}