Get Item List

../../../../_images/get_item_list.svg

Documentation

Get one item in list by index.

Definition

Input ports

list
Type: [<a>]
Description: Input List
default
Type: <a>
Description: Default item
Optional number of ports: 0–1 (default: 0)

Output ports

item
Type: <a>
Description: Output selected Item from List
rest
Type: [<a>]
Description: Output non-selected Items from List
Optional number of ports: 0–1 (default: 0)

Configuration

Action on index out of bounds (fail_strategy)

Decide how an index out of bounds should be handled

Index (index)

Choose item index in list.

Examples

Example flows demonstrating this node:

The node can be found in:

Implementation

class node_list_operations.GetItemList[source]