stdlib
1.3
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
JVM
stdlib
/
kotlin.sequences
/
maxBy
max
By
JVM
inline
fun
<
T
,
R
:
Comparable
<
R
>
>
Sequence
<
T
>
.
maxBy
(
selector
:
(
T
)
->
R
)
:
T
?
(
source
)
Deprecated
Use maxByOrNull instead.
Replace with
this.maxByOrNull(selector)
Content copied to clipboard
Since Kotlin
1.0