Kotlin HashMap minOf()
Syntax & Examples


Syntax of HashMap.minOf()

The syntax of HashMap.minOf() extension function is:

fun <K, V> Map<out K, V>.minOf( selector: (Entry<K, V>) -> Double ): Double

This minOf() extension function of HashMap returns the smallest value among all values produced by selector function applied to each entry in the map.