max
Returns the largest character.
Since Kotlin
1.7Throws
if the char sequence is empty.
Deprecated
Warning since 1.4
Error since 1.5
Hidden since 1.6
Use maxOrNull instead.
Replace with
this.maxOrNull()
Content copied to clipboard
Returns the largest character.
if the char sequence is empty.
Warning since 1.4
Error since 1.5
Hidden since 1.6
Use maxOrNull instead.
this.maxOrNull()
Thanks for your feedback!