function reduceimport { reduce } from "https://dotland.deno.dev/x/rambda@9.4.1/rambda.js"; reduce<T, TResult>(reducer: (prev: TResult,current: T,i: number,) => TResult,initialValue: TResult,list: T[],): TResultreduce<T, TResult>(reducer: (prev: TResult, current: T) => TResult,initialValue: TResult,list: T[],): TResultreduce<T, TResult>(reducer: (prev: TResult,current: T,i: number,) => TResult): (initialValue: TResult, list: T[]) => TResultreduce<T, TResult>(reducer: (prev: TResult,current: T,i: number,) => TResult, initialValue: TResult): (list: T[]) => TResultType ParametersTTResultParametersreducer: (prev: TResult,current: T,i: number,) => TResultinitialValue: TResultlist: T[]ReturnsTResultType ParametersTTResultParametersreducer: (prev: TResult, current: T) => TResultinitialValue: TResultlist: T[]ReturnsTResultType ParametersTTResultParametersreducer: (prev: TResult,current: T,i: number,) => TResultReturns(initialValue: TResult, list: T[]) => TResultType ParametersTTResultParametersreducer: (prev: TResult,current: T,i: number,) => TResultinitialValue: TResultReturns(list: T[]) => TResult