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

Function _finish

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

Source from the content-addressed store, hash-verified

5796 );
5797 },
5798 _finish(t, e) {
5799 const n = this._counts,
5800 r = this._tuples || (this._tuples = {}),
5801 i = e[0],
5802 o = e[1],
5803 a = t.fork(t.NO_SOURCE | t.NO_FIELDS);
5804 let s, u, l;
5805 for (s in n)
5806 ((u = r[s]),
5807 (l = n[s] || 0),
5808 !u && l
5809 ? ((r[s] = u = va({})), (u[i] = s), (u[o] = l), a.add.push(u))
5810 : 0 === l
5811 ? (u && a.rem.push(u), (n[s] = null), (r[s] = null))
5812 : u[o] !== l && ((u[o] = l), a.mod.push(u)));
5813 return a.modifies(e);
5814 },
5815 }),
5816 (hu.Definition = {
5817 type: "Cross",

Callers

nothing calls this directly

Calls 1

vaFunction · 0.70

Tested by

no test coverage detected