firstOrNull

inline fun <E> Optional<List<E>>.firstOrNull(predicate: (E) -> Boolean): E?(source)