ArrayGetNumber Op
Returns a value from an array
Summary (oneliner)
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
!
Full Name
- Ops.Array.ArrayGetNumber
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch weak rain
INPUT PORTS
array (Array)
The array-data, e.g. [100, 200, 300]
index (Number: integer)
The index of the array you want to get, 0
is the first element
Value Invalid Index (Number)
OUTPUT PORTS
value (Number)
The value of the array at position Index
Valid Index (booleanNumber)
Patches using ArrayGetNumber
Changelog
feature | Added input vor value when index is invalid (negative or too big) | pandur - 2024-04-12 15:15 |