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

Method shift

src/utils.ts:754–756  ·  view source on GitHub ↗

Removes the first node at the front of the list

()

Source from the content-addressed store, hash-verified

752
753 /** Removes the first node at the front of the list */
754 shift(): T | null {
755 return this.remove(this.head.next);
756 }
757
758 /** Removes the last node at the end of the list */
759 pop(): T | null {

Callers 15

testListShiftFunction · 0.95
ueFunction · 0.45
jquery.jsFile · 0.45
cFunction · 0.45
lFunction · 0.45
runCmapTestFunction · 0.45
startMethod · 0.45
waitingMethod · 0.45
_createFunction · 0.45

Calls 1

removeMethod · 0.95

Tested by 1

nextMethod · 0.36