MCPcopy Create free account
hub / github.com/LibPDF-js/core / remove

Method remove

src/objects/pdf-array.ts:94–97  ·  view source on GitHub ↗

* Remove item at index, shifting subsequent items.

(index: number)

Source from the content-addressed store, hash-verified

92 * Remove item at index, shifting subsequent items.
93 */
94 remove(index: number): void {
95 this.items.splice(index, 1);
96 this.dirty = true;
97 }
98
99 /**
100 * Iterate over items.

Callers 3

pdf-array.test.tsFile · 0.45
pruneObjrKidsFunction · 0.45
removeFieldMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected