method Collection.prototype.reduceRe-exportimport { Collection } from "https://deno.land/x/harmony@v2.9.0/mod.ts"; reduce<T>(callback: (accumulator: T,value: V,key: K,) => T, initialValue?: T): TReduce the Collection to a single value Type ParametersTParameterscallback: (accumulator: T,value: V,key: K,) => ToptionalinitialValue: TReturnsT