arrow-core-data / arrow.core / None


object None : Option<Nothing>


isEmpty Returns true if the option is None, false isEmpty(): Boolean
toString fun toString(): String

Extension Functions

altFromOption fun <F, A> Option<A>.altFromOption(AF: Alternative<F>): Kind<F, A>
getOrElse Returns the option’s value if the option is nonempty, otherwise return the result of evaluating <T> Option<T>.getOrElse(default: () -> T): T
select fun <A, B> Option<Either<A, B>>.select(f: <ERROR CLASS><(A) -> B>): Option<B>

Do you like Arrow?

Arrow Org