Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 631 Bytes

File metadata and controls

25 lines (17 loc) · 631 Bytes
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @rushstack/node-core-library > MinimumHeap > poll

MinimumHeap.poll() method

Retrieves and removes the root item from the heap. The next smallest item will become the new root.

Signature:

poll(): T | undefined;

Returns:

T | undefined

the root item, or undefined if the heap is empty