kmongo / kotlin.collections / reduceIndexed

reduceIndexed

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