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

Function clean

resources/vega.min.js:362–370  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

360 return arguments.length ? ((e = t), i) : e;
361 },
362 clean() {
363 const t = {};
364 let r = 0;
365 for (const i in n) {
366 const o = n[i];
367 o === lt || (e && e(o)) || ((t[i] = o), ++r);
368 }
369 ((i.size = r), (i.empty = 0), (i.object = n = t));
370 },
371 };
372 return (
373 t &&

Callers

nothing calls this directly

Calls 2

eFunction · 0.85
rFunction · 0.70

Tested by

no test coverage detected