MCPcopy
hub / github.com/microsoft/SandDance / insert

Function insert

docs/app/js/sanddance-app.js:107284–107288  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

107282 return {
107283 constructor: changeset,
107284 insert (t) {
107285 const d = (0, _vegaUtil.array)(t), n = d.length;
107286 for(let i = 0; i < n; ++i)add1.push(d[i]);
107287 return this;
107288 },
107289 remove (t) {
107290 const a = (0, _vegaUtil.isFunction)(t) ? remp : rem, d = (0, _vegaUtil.array)(t), n = d.length;
107291 for(let i = 0; i < n; ++i)a.push(d[i]);

Callers

nothing calls this directly

Calls 7

array32Function · 0.70
keyFunction · 0.70
sortFunction · 0.70
mergeFunction · 0.70
sizeMethod · 0.45
resizeMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected