map

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

Maps over the value if defined.