Increases the key value of a heap element by a specified amount.
The element is rebalanced in whichever direction the new key requires,
so a negative amount is handled the same as a positive one.
true if element was found and modified,
false if the heap does not hold it, the amount is not a number,
or the new key would be NaN (key is then unchanged).
Throws
TypeError if node.key is not writable, as on a frozen node
or a key with a getter and no setter. The heap and key are
then unchanged.
Increases the key value of a heap element by a specified amount. The element is rebalanced in whichever direction the new key requires, so a negative amount is handled the same as a positive one.