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