MCPcopy
hub / github.com/bugy/script-server / removeElements

Function removeElements

web-src/src/common/utils/common.js:216–221  ·  view source on GitHub ↗
(array, elements)

Source from the content-addressed store, hash-verified

214}
215
216export function removeElements(array, elements) {
217 for (var i = 0; i < elements.length; i++) {
218 var element = elements[i];
219 removeElement(array, element);
220 }
221}
222
223export function clearArray(array) {
224 array.splice(0, array.length);

Callers

nothing calls this directly

Calls 1

removeElementFunction · 0.85

Tested by

no test coverage detected