Next: , Previous: Dictionary-dictionary enumerating, Up: Dictionary


1.62.5 Dictionary: dictionary removing

remove: anAssociation
Remove anAssociation's key from the dictionary


remove: anAssociation ifAbsent: aBlock
Remove anAssociation's key from the dictionary


removeAllKeys: keys
Remove all the keys in keys, without raising any errors


removeAllKeys: keys ifAbsent: aBlock
Remove all the keys in keys, passing the missing keys as parameters to aBlock as they're encountered


removeKey: key
Remove the passed key from the dictionary, fail if it is not found


removeKey: key ifAbsent: aBlock
Remove the passed key from the dictionary, answer the result of evaluating aBlock if it is not found