kotlin.collections.maxWith

maxWith

fun <T> Iterable<T>.maxWith(comparator: Comparator<in T>): T?

Platform and version requirements: JVM

fun <T> Array<out T>.maxWith(
    comparator: Comparator<in T>
): T?

Platform and version requirements: JVM

fun ByteArray.maxWith(comparator: Comparator<in Byte>): Byte?

Platform and version requirements: JVM

fun ShortArray.maxWith(
    comparator: Comparator<in Short>
): Short?

<