$$indexof
Find the index of the first element that matches the specified value.
Usage​
{
"$$indexof": /* Array of elements */,
"of": /* any */
}
"$$indexof(<of>):{input}"
Returns​
number
Arguments​
Argument | Type | Values | Required / Default Value | Description |
---|---|---|---|---|
Primary | array | Yes | Array of elements | |
of | any | Yes | The value to look for |