Kotlin HashMap maxOf()
Syntax & Examples
Syntax of HashMap.maxOf()
The syntax of HashMap.maxOf() extension function is:
fun <K, V> Map<out K, V>.maxOf( selector: (Entry<K, V>) -> Double ): Double
This maxOf() extension function of HashMap returns the largest value among all values produced by selector function applied to each entry in the map.