Sealed
Removes all elements from the queue
Optional
condition: (t: Pokemon) => booleanWhether an element matching the condition function exists
Sealed
Whether the queue is empty
Removes the first element matching the condition
An optional condition function (defaults to a function that always returns true
)
Whether a removal occurred
Protected
reorderSorts the elements in the queue
A priority queue of
Pokemon
s