Get item
Read the item at a position.
Command in the List toolkit · id ooa.list/get_item · 4 inputs (2 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| List | List | Yes | Source list. | |
| Position | Number | Yes | Zero-based position; negative counts from the end (-1 = last). | |
| If out of range | String | No | error | When the position is outside the list: fail with LIST.INDEX, or return the default. |
| Default | Any | No | Value returned for a position outside the list when if_out_of_range is default. |
Outputs
| Output | Type | What it is |
|---|---|---|
| item | Any | The item. |