maxOf
Returns the largest value among all values produced by selector function applied to each element in the array.
If any of values produced by selector function is NaN
, the returned result is NaN
.
Since Kotlin
1.4Throws
if the array is empty.
Returns the largest value among all values produced by selector function applied to each element in the array.
Since Kotlin
1.4Throws
if the array is empty.
Returns the largest value among all values produced by selector function applied to each element in the collection.
If any of values produced by selector function is NaN
, the returned result is NaN
.
Since Kotlin
1.4Throws
if the collection is empty.
Returns the largest value among all values produced by selector function applied to each element in the collection.
Since Kotlin
1.4Throws
if the collection is empty.
Returns the largest value among all values produced by selector function applied to each entry in the map.
If any of values produced by selector function is NaN
, the returned result is NaN
.
Since Kotlin
1.4Throws
if the map is empty.
Returns the largest value among all values produced by selector function applied to each entry in the map.
Since Kotlin
1.4Throws
if the map is empty.