flatMap

inline fun <R> flatMap(f: (T) -> Option<R>): Option<R>(source)

Flat-maps over the value if defined.