unwrap

inline fun <T, R : Any> Optional<T>.unwrap(mapper: (T) -> R): R?(source)