kotlin-stdlib / kotlin.text / max max Common JVM JS Native 1.0 fun CharSequence.max(): Char? Returns the largest character or null if there are no characters.