ArrayUtil - indexOf(Array array, Object element, Number startIndex)

Searches the array for the element starting with the startIndex element. Returns the element index.

Table 1. Parameters
Name Type Description
array Array The array to search
element Object The element to search for
startIndex Number The index to begin the search
Table 2. Returns
Type Description
Number The position of the element in the array, or -1 if the element is not in the array.