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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Dictionary | Dictionary | Yes | Source dictionary. | |
| Key | String | No | Key to remove. | |
| Fail if missing | Boolean | No | false | Fail with DICT.KEY_NOT_FOUND when the key is not there. |
| Position | Number | No | G1 (AA parity): remove the key at this place, counted from 0, instead of naming it. |
Outputs
| Output | Type | What it is |
|---|---|---|
| dictionary | Dictionary | Updated dictionary. |
| removed | Any | The value that was removed, empty when the key was not there. |
| found | Boolean | True when the key was there. |