MCPcopy Create free account
hub / github.com/breck7/scroll / array$4

Function array$4

external/.d3.js:1705–1707  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

1703// HTMLCollection or NodeList. However, note that selection.selectAll will use a
1704// static NodeList as a group, since it safely derived from querySelectorAll.
1705function array$4(x) {
1706 return x == null ? [] : Array.isArray(x) ? x : Array.from(x);
1707}
1708
1709function empty$1() {
1710 return [];

Callers 2

arrayAllFunction · 0.85
selectAllFunction · 0.85

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected