The item to find.
the index of the target, or -1 if the target is not found.
Returns the position of the first occurrence of an item in an array, or -1 if the item is not included in the array.
The item to find.
the index of the target, or -1 if the target is not found.
Returns the position of the first occurrence of an item in an array, or -1 if the item is not included in the array.
the index of the target, or -1 if the target is not found.
Returns the position of the first occurrence of an item in an array, or -1 if the item is not included in the array.
The item to find.
the index of the target, or -1 if the target is not found.
Generated using TypeDoc
Returns the position of the first occurrence of an item in an array, or -1 if the item is not included in the array.