maybe

inline fun <A> Boolean.maybe(f: () -> A): Option<A>(source)