Skip to main content

Remove

Remove a key and its value from a dictionary; returns the dictionary without it.

Command in the Dictionary toolkit · id ooa.dictionary/remove · 4 inputs (1 required), 3 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
DictionaryDictionaryYesSource dictionary.
KeyStringNoKey to remove.
Fail if missingBooleanNofalseFail with DICT.KEY_NOT_FOUND when the key is not there.
PositionNumberNoG1 (AA parity): remove the key at this place, counted from 0, instead of naming it.

Outputs​

OutputTypeWhat it is
dictionaryDictionaryUpdated dictionary.
removedAnyThe value that was removed, empty when the key was not there.
foundBooleanTrue when the key was there.