beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

ArrayGetNumber Op

Ops.Array.ArrayGetNumber


ArrayGetNumber
Namespace: Ops.Array

Op author: pandur

Test Patches: 3 Tests

Returns a value from an array


Example: If you have an array [100, 200, 300] setting the Index to 1 will return 200. Please note that the first index is 0, not 1!



Inputs

array (Array)

The array-data, e.g. [100, 200, 300]

index (integer /Number)

The index of the array you want to get, 0 is the first element

Outputs

value (Number)

The value of the array at position Index

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Patches using ArrayGetNumber