Next: , Previous: , Up: Dictionary   [Index]


1.64.6 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