kmongo / kotlin.collections / sumBy

sumBy

inline fun <T> MongoIterable<T>.sumBy(crossinline selector: (T) -> Int): Int