max

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun Array<out Double>.max(): Double?
Deprecated: Use maxOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun Array<out Float>.max(): Float?
Deprecated: Use maxOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun <T : Comparable<T>> Array<out T>.max(): T?
Deprecated: Use maxOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun ByteArray.max(): Byte?
Deprecated: Use maxOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun ShortArray.max(): Short?
Deprecated: Use maxOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun IntArray.max(): Int?
Deprecated: Use maxOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun LongArray.max(): Long?
Deprecated: Use maxOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun FloatArray.max(): Float?
Deprecated: Use maxOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun DoubleArray.max(): Double?
Deprecated: Use maxOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun CharArray.max(): Char?
Deprecated: Use maxOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun Iterable<Double>.max(): Double?
Deprecated: Use maxOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun Iterable<Float>.max(): Float?
Deprecated: Use maxOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun <T : Comparable<T>> Iterable<T>.max(): T?
Deprecated: Use maxOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") @ExperimentalUnsignedTypes fun UIntArray.max(): UInt?
Deprecated: Use maxOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") @ExperimentalUnsignedTypes fun ULongArray.max(): ULong?
Deprecated: Use maxOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") @ExperimentalUnsignedTypes fun UByteArray.max(): UByte?
Deprecated: Use maxOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") @ExperimentalUnsignedTypes fun UShortArray.max(): UShort?
Deprecated: Use maxOrNull instead.

© 2010–2021 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/max.html