Skip to main content
Module

x/rambda/files/index.d.ts>groupBy

Faster and smaller alternative to Ramda
Go to Latest
function groupBy
import { groupBy } from "https://deno.land/x/rambda@v7.0.1/files/index.d.ts";

Parameters

groupFn: (x: T) => string
list: T[]

Returns

{ [index: string]: T[]; }

Parameters

groupFn: (x: T) => string

Returns

(list: T[]) => { [index: string]: T[]; }

Parameters

groupFn: (x: T) => string
list: T[]

Parameters

groupFn: (x: T) => string

Returns

(list: T[]) => U