function maxByimport { maxBy } from "https://dotland.deno.dev/x/rambda@9.4.1/files/index.d.ts"; maxBy<T>(compareFn: (input: T) => Ord,x: T,y: T,): TmaxBy<T>(compareFn: (input: T) => Ord, x: T): (y: T) => TmaxBy<T>(compareFn: (input: T) => Ord): (x: T) => (y: T) => TType ParametersTParameterscompareFn: (input: T) => Ordx: Ty: TReturnsTType ParametersTParameterscompareFn: (input: T) => Ordx: TReturns(y: T) => TType ParametersTParameterscompareFn: (input: T) => OrdReturns(x: T) => (y: T) => T