mapOnAbsent

inline fun <T, R> Optional<T>.mapOnAbsent(block: () -> R): R?(source)

Will call block when data presented (Optional.dataPresented == true)