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

Function nu

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

Source from the content-addressed store, hash-verified

5240 return (this._out.forEach((e) => (t[e.out] = e.value(this))), t);
5241 }
5242 function nu(t, e) {
5243 const n = e || f,
5244 r = (function (t) {
5245 const e = {};
5246 t.forEach((t) => (e[t.name] = t));
5247 const n = (t) => {
5248 t.req &&
5249 t.req.forEach((t) => {
5250 e[t] || n((e[t] = Vs[t]()));
5251 });
5252 };
5253 return (t.forEach(n), Object.values(e).sort(Zs));
5254 })(t),
5255 i = t.slice().sort(Zs);
5256 function o(t) {
5257 ((this._ops = r), (this._out = i), (this.cell = t), this.init());
5258 }
5259 return (
5260 (o.prototype.init = Qs),
5261 (o.prototype.add = Ks),
5262 (o.prototype.rem = tu),
5263 (o.prototype.set = eu),
5264 (o.prototype.get = n),
5265 (o.fields = t.map((t) => t.out)),
5266 o
5267 );
5268 }
5269 function ru(t) {
5270 ((this._key = t ? l(t) : ma), this.reset());
5271 }

Callers 2

initFunction · 0.85
clFunction · 0.85

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected