MCPcopy Create free account
hub / github.com/d3/d3-array / group

Function group

src/group.js:4–6  ·  view source on GitHub ↗
(values, ...keys)

Source from the content-addressed store, hash-verified

2import identity from "./identity.js";
3
4export default function group(values, ...keys) {
5 return nest(values, identity, identity, keys);
6}
7
8export function groups(values, ...keys) {
9 return nest(values, Array.from, identity, keys);

Callers 2

group-test.jsFile · 0.90
groupSortFunction · 0.85

Calls 1

nestFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…