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

Function td

resources/vega-lite.min.js:8678–8687  ·  view source on GitHub ↗
(e, n)

Source from the content-addressed store, hash-verified

8676 return td(e, (e, t) => U(e, t.value));
8677 }
8678 function td(e, n) {
8679 return (function (e) {
8680 const n = e?.condition;
8681 return !!n && (t.isArray(n) || sa(n));
8682 })(e)
8683 ? t.array(e.condition).reduce(n, e.value)
8684 : sa(e)
8685 ? e.value
8686 : void 0;
8687 }
8688 function nd(e, n, i) {
8689 const r = n.get("selections");
8690 if (!r?.length) return;

Callers 2

ZfFunction · 0.70
edFunction · 0.70

Calls 1

saFunction · 0.70

Tested by

no test coverage detected