$collection->indexOf()
Tries to find the index number for the given element
$collection->indexOf(mixed $needle): int|falseParameters
| Name | Type | Default | Description | 
|---|---|---|---|
| $needle * | mixed | – | the element to search for | 
Return type
int|false
Parent class
  Kirby\Toolkit\Collection    inherited from Kirby\Toolkit\Iterator