API Reference > bentleyjs-core > Collections > PriorityQueue > _pop _pop MethodProtected Removes the value at the specified index from the queue and reorders the queue. _pop(index: number): T | undefined Parameter Type Description index number The index of the value to remove Returns - T | undefined the value at the specified index, or undefined if the index is out of range. Defined in core/bentley/src/PriorityQueue.ts Line 140 Last Updated: 15 June, 2021