max
Returns the largest element.
If any of elements is NaN
returns NaN
.
Since Kotlin
1.7Throws
if the array is empty.
Returns the largest element.
Since Kotlin
1.7Throws
if the array is empty.
Returns the largest element.
If any of elements is NaN
returns NaN
.
Since Kotlin
1.7Throws
if the collection is empty.
Returns the largest element.
Since Kotlin
1.7Throws
if the collection is empty.
Deprecated
Warning since 1.4
Error since 1.5
Hidden since 1.6
Use maxOrNull instead.
Replace with
this.maxOrNull()
Content copied to clipboard
Since Kotlin
1.1Deprecated
Warning since 1.4
Error since 1.5
Hidden since 1.6
Use maxOrNull instead.
Replace with
this.maxOrNull()
Content copied to clipboard
Since Kotlin
1.0Deprecated
Warning since 1.4
Error since 1.5
Hidden since 1.6
Use maxOrNull instead.
Replace with
this.maxOrNull()
Content copied to clipboard