FpdartOnOption<T> extension

on

Methods

alt(Option<T> orElse()) Option<T>
Return the current Option if it is a Some, otherwise return the result of orElse.
elem(T t, Eq<T> eq) bool
Return true when value of a is equal to the value inside the Option.
getOrElse(T orElse()) → T
If this Option is a Some then return the value inside the Option. Otherwise return the result of orElse.