kmongo / kotlin.collections / minBy

minBy

inline fun <T, R : Comparable<R>> MongoIterable<T>.minBy(crossinline selector: (T) -> R): T?