$iterator->indexOf()
Tries to find the index number for the given element
$iterator->indexOf(mixed $needle): int|falseParameters
| Name | Type | Default | Description | 
|---|---|---|---|
| $needle * | mixed | – | the element to search for | 
Return type
int|false
Tries to find the index number for the given element
$iterator->indexOf(mixed $needle): int|false| Name | Type | Default | Description | 
|---|---|---|---|
| $needle * | mixed | – | the element to search for | 
int|false