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

Method pop

src/objects/pdf-array.ts:73–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71 }
72
73 pop(): PdfObject | undefined {
74 const value = this.items.pop();
75
76 if (value !== undefined) {
77 this.dirty = true;
78 }
79
80 return value;
81 }
82
83 /**
84 * Insert item at index, shifting subsequent items.

Callers 6

pdf-array.test.tsFile · 0.80
collectReachableRefsFunction · 0.80
pruneObjrKidsFunction · 0.80
extractAppearanceStyleFunction · 0.80
isInsideMarkedContentFunction · 0.80
restoreGraphicsStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected