findOrNull

open fun findOrNull(source: S, predicate: (focus: A) -> Boolean): A?(source)

Find the first element matching the predicate, if one exists.