MCPcopy Create free account
hub / github.com/alignoth/alignoth / RD

Function RD

resources/vega.min.js:22350–22361  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

22348 t.value = e;
22349 }
22350 function RD(t, e) {
22351 t instanceof Map
22352 ? ((t = [void 0, t]), void 0 === e && (e = UD))
22353 : void 0 === e && (e = LD);
22354 for (var n, r, i, o, a, s = new jD(t), u = [s]; (n = u.pop()); )
22355 if ((i = e(n.data)) && (a = (i = Array.from(i)).length))
22356 for (n.children = i, o = a - 1; o >= 0; --o)
22357 (u.push((r = i[o] = new jD(i[o]))),
22358 (r.parent = n),
22359 (r.depth = n.depth + 1));
22360 return s.eachBefore(PD);
22361 }
22362 function LD(t) {
22363 return t.children;
22364 }

Callers 2

vega.min.jsFile · 0.85
transformFunction · 0.85

Calls 2

eFunction · 0.85
fromMethod · 0.45

Tested by

no test coverage detected