function collectByimport { collectBy } from "https://deno.land/x/rambda@9.2.1/mod.ts"; collectBy<T, K extends PropertyKey>(keyFn: (value: T) => K, list: T[]): T[][]collectBy<T, K extends PropertyKey>(keyFn: (value: T) => K): (list: T[]) => T[][]Type ParametersTK extends PropertyKeyParameterskeyFn: (value: T) => Klist: T[]ReturnsT[][]Type ParametersTK extends PropertyKeyParameterskeyFn: (value: T) => KReturns(list: T[]) => T[][]