MCPcopy Index your code
hub / github.com/nodejs/node / peek

Method peek

lib/internal/priority_queue.js:30–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 }
29
30 peek() {
31 return this.#heap[1];
32 }
33
34 peekBottom() {
35 return this.#heap[this.#size];

Callers 4

processTimersFunction · 0.45
listOnTimeoutFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected