MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / _arrayLikeToArray

Function _arrayLikeToArray

chapter18/docs/d3-graphviz.js:26–30  ·  view source on GitHub ↗
(r, a)

Source from the content-addressed store, hash-verified

24 var d3__namespace = /*#__PURE__*/_interopNamespaceDefault(d3);
25
26 function _arrayLikeToArray(r, a) {
27 (null == a || a > r.length) && (a = r.length);
28 for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
29 return n;
30 }
31 function _arrayWithoutHoles(r) {
32 if (Array.isArray(r)) return _arrayLikeToArray(r);
33 }

Callers 2

_arrayWithoutHolesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected