maxBy
@JvmName("maxByOrThrow") inline fun <T, R : Comparable<R>> Sequence<T>.maxBy(
selector: (T) -> R
): T
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") inline fun <T, R : Comparable<R>> Sequence<T>.maxBy(
selector: (T) -> R
): T?
(source)