find Index
If the array is empty, -1 is returned.
Return
the index of the first occurrence of the element
Parameters
element
the element to search for
If the array is empty, -1 is returned.
the index of the first occurrence of the element
the element to search for