the row-major 2D array to be spliced.
the row-index at which to start changing the array.
Optional
delete_count: numberthe number of rows to remove. if undefined
, all rows from start
to the end of the array will be removed.
Rest
...insert_items: Array2DRowMajor<T>optionally insert row-major based 2D array items the index of start
.
a new row-major 2D array containing the deleted rows.
splice rows of a row-major 2D array and optionally insert new rows at the specified
start
index.Example
delete
1
row fromarr2d
(starting at row-index1
), and insert2
new rows in its place.