Find Index of Item in Array by Value
Overview
Searches an array for a given item value and returns itβs position or -1 if not found
Returns |
---|
Number |
Parameters
Parameter | Parameter | Valid Blocks | Required |
---|---|---|---|
Set a Dynamic Name | Show the Dynamic Name slot in the tree so that it can be set statically or dynamically | Boolean Block Group | No |
Dynamic Name | The dynamic name of this item | Text Block Group | No |
Attributes | Metadata values for this block. Used in XML and multipart/form-data. | Text Block Group | No |
Array to search | The array to search | Data Structure Block Group | No |
Value to Find | The value to find in the array | Any Data Type Block Group | No |