arrow-core-data / arrow.core / None

None

object None : Option<Nothing>

Functions

isEmpty Returns true if the option is None, false otherwise.fun 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 default.fun <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
<