get

Get element by index

Retrieves an element from a List, Vector, or NDArray at the specified index (0-based).

Parameters

Returns

The element at the index.

Examples

get([10, 20, 30], 1)
-- Returns = 20