function reduceimport { reduce } from "https://deno.land/x/rambda@9.2.1/mod.ts"; 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