Skip to main content

$arrayAt

Returns the array element at the provided index.

Parameters​

ParameterDescription
nameName of the array
indexIndex of the value

Example​

<AoiClient>.addCommand({
name: "array",
code: `
$createArray[data;1;4;5;6;7;8;9;0]
$print[$arrayAt[data;-1]]
`,
});