Skip to main content

Array item at index

Node function to extract an item from a list at the specified position.

Parameters

IndexREQUIRED

The item position in the list to extract. (Starting from 0)

Example
list -> ["a", "b", "c"]
index 0 -> "a"
index 1 -> "b"
index 2 -> "c"
Skip if not found

Ignore if the item is not found at the specified index.

Value typeREQUIRED

The type of the item at the specified index. See all types.

Example
["a", "b", "c"] // item type -> String
[1, 2, 3] // item type -> Number
Skip on cast error

Ignore if the item type does not match with the configured value type.

Input

A list of items.

Output

Item value

The value extracted from the list at the specified index.