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