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

Function entries

test/rollup-test.js:57–63  ·  view source on GitHub ↗
(map, depth)

Source from the content-addressed store, hash-verified

55});
56
57function entries(map, depth) {
58 if (depth > 0) {
59 return Array.from(map, ([k, v]) => [k, entries(v, depth - 1)]);
60 } else {
61 return map;
62 }
63}

Callers 1

rollup-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…