map Bin Remove Key Hash Can Destroy
fun A_MapBin.mapBinRemoveKeyHashCanDestroy( key: A_BasicObject, keyHash: Int, canDestroy: Boolean): A_MapBin
Content copied to clipboard
Answer a map bin like the receiver, but with the given key excluded. If the key does not occur in the receiver, answer the same map bin, or an equivalent. If canDestroy is true and the receiver is mutable, the receiver can be modified and/or returned as the result.
Return
The new map bin, or the updated receiver.
Parameters
key
The key to exclude.
key Hash
The precomputed hash value of the key.
can Destroy
Whether the receiver can be destroyed/reused if it's also mutable.