firstOrNull
Returns the first character, or null
if the char sequence is empty.
Since Kotlin
1.0Returns the first character matching the given predicate, or null
if character was not found.
Returns the first character, or null
if the char sequence is empty.
Returns the first character matching the given predicate, or null
if character was not found.
Thanks for your feedback!