Kotlin HashMap minOfOrNull()
Syntax & Examples
Syntax of HashMap.minOfOrNull()
The syntax of HashMap.minOfOrNull() extension function is:
fun <K, V> Map<out K, V>.minOfOrNull( selector: (Entry<K, V>) -> Double ): Double?
This minOfOrNull() extension function of HashMap returns the smallest value among all values produced by selector function applied to each entry in the map or null if there are no entries.