function reduceByimport { reduceBy } from "https://deno.land/x/rambda@9.2.1/mod.ts"; reduceBy<T, TResult>(valueFn: (acc: TResult, elem: T) => TResult): (a: TResult,b: (elem: T) => string,c: T[],) => { [index: string]: TResult; }reduceBy<T, TResult>(valueFn: (acc: TResult, elem: T) => TResult, acc: TResult): (a: (elem: T) => string, b: T[]) => { [index: string]: TResult; }reduceBy<T, TResult>(valueFn: (acc: TResult, elem: T) => TResult,acc: TResult,keyFn: (elem: T) => string,): (list: T[]) => { [index: string]: TResult; }reduceBy<T, TResult>(valueFn: (acc: TResult, elem: T) => TResult,acc: TResult,keyFn: (elem: T) => string,list: T[],): { [index: string]: TResult; }Type ParametersTTResultParametersvalueFn: (acc: TResult, elem: T) => TResultReturns(a: TResult,b: (elem: T) => string,c: T[],) => { [index: string]: TResult; }Type ParametersTTResultParametersvalueFn: (acc: TResult, elem: T) => TResultacc: TResultReturns(a: (elem: T) => string, b: T[]) => { [index: string]: TResult; }Type ParametersTTResultParametersvalueFn: (acc: TResult, elem: T) => TResultacc: TResultkeyFn: (elem: T) => stringReturns(list: T[]) => { [index: string]: TResult; }Type ParametersTTResultParametersvalueFn: (acc: TResult, elem: T) => TResultacc: TResultkeyFn: (elem: T) => stringlist: T[]Returns{ [index: string]: TResult; }