MCPcopy
hub / github.com/koodo-reader/koodo-reader / pop

Method pop

public/lib/pdfjs/pdf.worker.mjs:31863–31868  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31861 this.stack.push(value);
31862 }
31863 pop() {
31864 if (this.stack.length <= 0) {
31865 throw new Error("PostScript function stack underflow.");
31866 }
31867 return this.stack.pop();
31868 }
31869 copy(n) {
31870 if (this.stack.length + n >= PostScriptStack.MAX_STACK_SIZE) {
31871 throw new Error("PostScript function stack overflow.");

Callers 15

executeMethod · 0.95
getEmptyTableSlotFunction · 0.80
7zz.umd.jsFile · 0.80
createMethod · 0.80
ort.min.jsFile · 0.80
MFunction · 0.80
MrFunction · 0.80
pFunction · 0.80
jspdf.umd.min.jsFile · 0.80
eFunction · 0.80
rFunction · 0.80
eFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected