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

Function groups

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

Source from the content-addressed store, hash-verified

6}
7
8export function groups(values, ...keys) {
9 return nest(values, Array.from, identity, keys);
10}
11
12function flatten(groups, keys) {
13 for (let i = 1, n = keys.length; i < n; ++i) {

Callers 2

groups-test.jsFile · 0.90
flatGroupFunction · 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…