reduce

suspend fun <U : JsAny?> reduce(operation: (previousValue: U, currentValue: T, currentIndex: Int) -> U, initialValue: U, options: SubscribeOptions? = definedExternally): U(source)