Skip to content

Array Get

Get an item from an array at a specified index.

Inputs#

Port Description
Array
Input array
Index
Index of the item to return (zero-based)
Bound Check
Perform bounds checking, otherwise returns an empty value

Outputs#

Port Description
Item at the specified index or nil if out of bounds

Addendum#

This node returns the item at the specified index in the input array. If the index is out of bounds, it will either return nil or raise an exception, depending on the 'out_of_bounds_behavior' input.

Note: Array indexing is zero-based.

ID: array-get@v1