MCPcopy
hub / github.com/exceljs/exceljs / spliceArray

Function spliceArray

spec/unit/doc/worksheet-table.spec.js:4–8  ·  view source on GitHub ↗
(a, index, count, ...rest)

Source from the content-addressed store, hash-verified

2const Excel = verquire('exceljs');
3
4const spliceArray = (a, index, count, ...rest) => {
5 const clone = [...a];
6 clone.splice(index, count, ...rest);
7 return clone;
8};
9
10const values = [
11 ['Date', 'Id', 'Word'],

Callers 1

Calls 1

spliceMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…