maxWith
Returns the first character having the largest value according to the provided comparator.
Exceptions
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun CharSequence.maxWith(
comparator: Comparator<in Char>
): Char?
(source)
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
Returns the first character having the largest value according to the provided comparator.
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun CharSequence.maxWith(
comparator: Comparator<in Char>
): Char?