kmongo / kotlin.collections / com.mongodb.client.MongoIterable / min

min

fun MongoIterable<Double>.min(): Double? (source)
fun MongoIterable<Float>.min(): Float? (source)

Returns the smallest element or null if there are no elements.

If any of elements is NaN returns NaN.

fun <T : Comparable<T>> MongoIterable<T>.min(): T? (source)

Returns the smallest element or null if there are no elements.