Description
The index of a value within an array or -1 if no such value can be found.
Snippet
Index Of Array Value(All Players(All Teams), 0);Properties
Returns: Integer Parameters: ==Array==, ==Value==
==Array== Type: Array (Object), Default: All Players The array in which to search for the specified value.
==Value== Type: Object, Default: Number The value for which to search.
Note: If the search Value is a 1D Array, the function uses its first element as the target, searches the fully flattened source array, and returns the first 0-based index. If the search Value is a Vector or Nested Array, the function performs strict exact matching only (no first element extraction, no array flattening) and returns -1 if no identical match is found.