Index Of
Returns the index of an item in an array.
Index Of
- Array
- Item
- Index
- Contains
- Array
An array to check the item against.
- Item
An item to find the index of in the array.
- Index
The index of the item in the array, if it exists in the array. -1 if the item doesn’t exist.
- Contains
A boolean that is true if the item exists in the array.