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

Function entries

test/group-test.js:132–138  ·  view source on GitHub ↗
(map, depth)

Source from the content-addressed store, hash-verified

130});
131
132function entries(map, depth) {
133 if (depth > 0) {
134 return Array.from(map, ([k, v]) => [k, entries(v, depth - 1)]);
135 } else {
136 return map;
137 }
138}

Callers 1

group-test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…