max With Or Null
fun DoubleArray.maxWithOrNull(comparator: Comparator<in Double>): Double?
Content copied to clipboard
fun BooleanArray.maxWithOrNull(comparator: Comparator<in Boolean>): Boolean?
Content copied to clipboard
fun UShortArray.maxWithOrNull(comparator: Comparator<in UShort>): UShort?
Content copied to clipboard
Returns the first element having the largest value according to the provided comparator or null
if there are no elements.
Since Kotlin
1.4
Returns the first entry having the largest value according to the provided comparator or null
if there are no entries.
Since Kotlin
1.4