minOrNull

fun CharSequence.minOrNull(): Char?

Returns the smallest character or null if there are no characters.

Since Kotlin

1.4