fun MongoIterable<Double>.minOrNull(): Double?
(source)fun MongoIterable<Float>.minOrNull(): 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>.minOrNull(): T?
(source)
Returns the smallest element or null
if there are no elements.