Aller au contenu

Array Get

Ce contenu n’est pas encore disponible dans votre langue.

Get an item from an array at a specified index.

PortDescription
Array
Input array
Index
Index of the item to return (zero-based)
Bound Check
Perform bounds checking, otherwise returns an empty value
PortDescription
Item at the specified index or nil if out of bounds

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: core/array-get@v1