delete-at* ( key assoc -- old ? )
Factor handbook > The language > Collections > Associative mapping operations > Storing keys and values in assocs

Next:rename-at ( newkey key assoc -- )


Inputs and outputs
keya key
assocan assoc
oldthe previous value or f
?a boolean

Word description
Removes an entry from the assoc and outputs the previous value together with a boolean indicating whether it was present.

Side effects
Modifies assoc