Module

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

Faster and smaller alternative to Ramda
Latest
function groupWith
import { groupWith } from "https://dotland.deno.dev/x/rambda@9.4.1/files/index.d.ts";

Parameters

compareFn: (x: T, y: T) => boolean

Returns

(input: T[]) => (T[])[]

Parameters

compareFn: (x: T, y: T) => boolean
input: T[]

Returns

(T[])[]

Parameters

compareFn: (x: T, y: T) => boolean
input: string

Returns

string[]