Kotlin HashSet minOf()
Syntax & Examples


Syntax of HashSet.minOf()

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

fun <T> Iterable<T>.minOf(selector: (T) -> Double): Double

This minOf() extension function of HashSet returns the smallest value among all values produced by selector function applied to each element in the collection.