maxWith
@JvmName
(
"maxWithOrThrow"
)
fun
CharSequence
.
maxWith
(
comparator
:
Comparator
<
in
Char
>
)
:
Char
(source)
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)