ArrayGetNumber Op

ArrayGetNumber

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!


Full Name
  • Ops.Array.ArrayGetNumber
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


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

  • Examples
  • Public
  • My Patches

Changelog


featureAdded input vor value when index is invalid (negative or too big)user avatarpandur - 2024-04-12 15:15