orElse method

Some<T> orElse(
  1. Option<T> f()
)

Returns this value as Some

Implementation

Some<T> orElse(Option<T> Function() f) {
  return this;
}