SealedRemoves all elements from the queue
Optionalcondition: (t: Pokemon) => booleanWhether an element matching the condition function exists
SealedWhether 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
ProtectedreorderSorts the elements in the queue
A priority queue of
Pokemons