MCPcopy
hub / github.com/mongodb/node-mongodb-native / pop

Method pop

src/utils.ts:759–761  ·  view source on GitHub ↗

Removes the last node at the end of the list

()

Source from the content-addressed store, hash-verified

757
758 /** Removes the last node at the end of the list */
759 pop(): T | null {
760 return this.remove(this.head.prev);
761 }
762
763 /** Iterates through the list and removes nodes where filter returns true */
764 prune(filter: (value: T) => boolean) {

Callers 15

displayNextItemFunction · 0.80
jquery.jsFile · 0.80
checkFlakyTestListFunction · 0.80
resultCheckFunction · 0.80
insert.test.tsFile · 0.80
utils.test.tsFile · 0.80
portMethod · 0.80
main.jsFile · 0.80
main.jsFile · 0.80
main.jsFile · 0.80
main.jsFile · 0.80
displayNextItemFunction · 0.80

Calls 1

removeMethod · 0.95

Tested by

no test coverage detected