orElse

inline fun <Element> Maybe<Element>.orElse(default: () -> Element): Element(source)

Returns the value if it is present or computes and returns default one otherwise.