kmongo / kotlin.collections / reduce

reduce

inline fun <S, T : S> MongoIterable<T>.reduce(crossinline operation: (acc: S, T) -> S): S