Returns the index position of the first occurrence of the element in the array (orDocumentation Index
Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt
Use this file to discover all available pages before exploring further.
NULL if not found).
Syntax
Parameters
| Parameter | Description | Supported input types |
|---|---|---|
<array> | The array to be analyzed | ARRAY |
<value> | The element from the array that is to be matched | Any type that corresponds to an element in the array |
Return Type
INTEGER
Example
The following example returns the index position of the 5 in thelevels array:
4