method Enumerable.prototype.reduceimport { Enumerable } from "https://deno.land/x/proc@0.20.37/src/enumerable.ts"; reduce<U>(zero: U, reduceFn: (acc: U, item: T) => U | Promise<U>): Promise<U>Reduce a sequence to a single value. Type ParametersUParameterszero: UThe reducing function. reduceFn: (acc: U, item: T) => U | Promise<U>ReturnsPromise<U>The result of applying the reducing function to each item and accumulating the result.