Get
Read the value for a key, or a default when the key is missing.
Command in the Dictionary toolkit · id ooa.dictionary/get · 5 inputs (2 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Dictionary | Dictionary | Yes | Source dictionary. | |
| Key | String | Yes | Key whose value to read (case-sensitive). | |
| Default | Any | No | Value to return when the key is missing. | |
| Ignore case | Boolean | No | false | Find the key without regard to upper/lower case. |
| Fail if missing | Boolean | No | false | Fail with DICT.KEY_NOT_FOUND instead of returning the default. |
Outputs
| Output | Type | What it is |
|---|---|---|
| value | Any | Value or default. |
| found | Boolean | True when the key exists. |