Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
8
export
function
groups(values, ...keys) {
9
return
nest(values, Array.from, identity, keys);
10
}
11
12
function
flatten(groups, keys) {
13
for
(
let
i = 1, n = keys.length; i < n; ++i) {
Callers
2
groups-test.js
File · 0.85
flatGroup
Function · 0.85
Calls
1
nest
Function · 0.85
Tested by
no test coverage detected