MCPcopy Create free account
hub / github.com/microsoft/SandDance / peek

Function peek

docs/external/js/react.development.js:2248–2251  ·  view source on GitHub ↗
(heap)

Source from the content-addressed store, hash-verified

2246 siftUp(heap, node, index);
2247 }
2248 function peek(heap) {
2249 var first = heap[0];
2250 return first === undefined ? null : first;
2251 }
2252 function pop(heap) {
2253 var first = heap[0];
2254

Callers 6

advanceTimersFunction · 0.70
handleTimeoutFunction · 0.70
workLoopFunction · 0.70
unstable_shouldYieldFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected