Add item
Add an item at the end, or at a position.
Command in the List toolkit · id ooa.list/add_item · 5 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| List | List | Yes | Source list. | |
| Item | Any | No | Item to add. | |
| Position | Number | No | Zero-based position; end of list when empty. | |
| Items | List | No | Several items to add in one go, after 'item' when both are given. | |
| Skip existing | Boolean | No | false | Do not add an item that is already in the list. |
Outputs
| Output | Type | What it is |
|---|---|---|
| list | List | Updated list. |