maxOf
Returns the greater of three values according to the order specified by the given comparator.
If there are multiple equal maximal values, returns the first of them.
Since Kotlin
1.1Returns the greater of two values according to the order specified by the given comparator.
If values are equal, returns the first one.
Since Kotlin
1.1Returns the greater of two values.
If values are equal, returns the first one.
Since Kotlin
1.1Returns the greater of two values.
Since Kotlin
1.1Returns the greater of two values.
If either value is NaN
, returns NaN
.
Since Kotlin
1.1Returns the greater of three values.
If there are multiple equal maximal values, returns the first of them.
Since Kotlin
1.1Returns the greater of three values.
Since Kotlin
1.1Returns the greater of three values.
If any value is NaN
, returns NaN
.