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

Function Na

resources/vega.min.js:3639–3655  ·  view source on GitHub ↗
(t, e, n, r, i, o)

Source from the content-addressed store, hash-verified

3637 };
3638 const za = { skip: !0 };
3639 function Na(t, e, n, r, i, o) {
3640 const a = ot({}, o, za);
3641 let s, u;
3642 (J(n) || (n = rt(n)),
3643 void 0 === r
3644 ? (s = (e) => t.touch(n(e)))
3645 : J(r)
3646 ? ((u = new Fa(null, r, i, !1)),
3647 (s = (e) => {
3648 u.evaluate(e);
3649 const r = n(e),
3650 i = u.value;
3651 ka(i) ? t.pulse(r, i, o) : t.update(r, i, a);
3652 }))
3653 : (s = (e) => t.update(n(e), r, a)),
3654 e.apply(s));
3655 }
3656 function Oa(t, e, n, r, i, o) {
3657 if (void 0 === r) e.targets().add(n);
3658 else {

Callers

nothing calls this directly

Calls 6

otFunction · 0.70
JFunction · 0.70
rtFunction · 0.70
nFunction · 0.70
kaFunction · 0.70
updateMethod · 0.45

Tested by

no test coverage detected