Skip to main content
Module

x/ramda/mod.ts>collectBy

:ram: Practical functional Javascript
Latest
variable collectBy
import { collectBy } from "https://deno.land/x/ramda@v0.27.2/mod.ts";

Splits a list into sub-lists, based on the result of calling a key-returning function on each element, and grouping the results according to values returned.