find

Common
JVM
JS
Native
1.0
inline fun CharSequence.find(
    predicate: (Char) -> Boolean
): Char?

Returns the first character matching the given predicate, or null if no such character was found.