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

Function fa

resources/vega.min.js:3281–3301  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

3279 });
3280 })("undefined" != typeof fetch && fetch);
3281 function fa(t) {
3282 const e = t || f,
3283 n = [],
3284 r = {};
3285 return (
3286 (n.add = (t) => {
3287 const i = e(t);
3288 return (r[i] || ((r[i] = 1), n.push(t)), n);
3289 }),
3290 (n.remove = (t) => {
3291 const i = e(t);
3292 if (r[i]) {
3293 r[i] = 0;
3294 const e = n.indexOf(t);
3295 e >= 0 && n.splice(e, 1);
3296 }
3297 return n;
3298 }),
3299 n
3300 );
3301 }
3302 async function ha(t, e) {
3303 try {
3304 await e(t);

Callers 3

targetsFunction · 0.70
GaFunction · 0.70
vega.min.jsFile · 0.70

Calls 1

eFunction · 0.85

Tested by

no test coverage detected