getOrElse

inline fun <T> Option<T>.getOrElse(default: () -> T): T(source)

Get the value of this Option if defined or use the default-value provider.