Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dnx/AsyncIterator/methods/reduce.ts>default

Fluent modular JavaScript utility library.
Latest
function default
import { default } from "https://deno.land/x/dnx@0.0.5/AsyncIterator/methods/reduce.ts";

Parameters

operation: (accumulator: T, value: T) => T
optional
initialValue: T

Returns

AsyncIterableIterator<T>

Parameters

operation: (accumulator: U, value: T) => U
initialValue: U

Returns

AsyncIterableIterator<T>