MCPcopy Create free account
hub / github.com/caseywebdev/react-list / peek

Function peek

docs/index.js:2137–2139  ·  view source on GitHub ↗
(heap)

Source from the content-addressed store, hash-verified

2135 }
2136}
2137function peek(heap) {
2138 return 0 === heap.length ? null : heap[0];
2139}
2140function pop(heap) {
2141 if (0 === heap.length) return null;
2142 var first = heap[0],

Callers 4

advanceTimersFunction · 0.85
handleTimeoutFunction · 0.85
performWorkUntilDeadlineFunction · 0.85
index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…