mapOnPresented

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

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