maxWith

Common
JVM
JS
Native
1.0
@DeprecatedSinceKotlin("1.4", "1.5") fun <T> Array<out T>.maxWith(
    comparator: Comparator<in T>
): T?

(source)
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun ByteArray.maxWith(
    comparator: Comparator<in Byte>
): Byte?

(source)
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun ShortArray.maxWith(
    comparator: Comparator<in Short>
): Short?

(source)
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun IntArray.maxWith(
    comparator: Comparator<in Int>
): Int?

(source)
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun LongArray.maxWith(
    comparator: Comparator<in Long>
): Long?

(source)
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun FloatArray.maxWith(
    comparator: Comparator<in Float>
): Float?

(source)
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun DoubleArray.maxWith(
    comparator: Comparator<in Double>
): Double?

(source)
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun BooleanArray.maxWith(
    comparator: Comparator<in Boolean>
): Boolean?

(source)
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun CharArray.maxWith(
    comparator: Comparator<in Char>
): Char?

(source)
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun <T> Iterable<T>.maxWith(
    comparator: Comparator<in T>
): T?

(source)
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun <K, V> Map<out K, V>.maxWith(
    comparator: Comparator<in Entry<K, V>>
): Entry<K, V>?

(source)
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") @ExperimentalUnsignedTypes fun UIntArray.maxWith(
    comparator: Comparator<in UInt>
): UInt?

(source)
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") @ExperimentalUnsignedTypes fun ULongArray.maxWith(
    comparator: Comparator<in ULong>
): ULong?

(source)
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") @ExperimentalUnsignedTypes fun UByteArray.maxWith(
    comparator: Comparator<in UByte>
): UByte?

(source)
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") @ExperimentalUnsignedTypes fun UShortArray.maxWith(
    comparator: Comparator<in UShort>
): UShort?

(source)
Deprecated: Use maxWithOrNull instead.