$pricingRules->keyOf()
Tries to find the key for the given element
$pricingRules->keyOf( $needle): int|string|false
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$needle |
mixed |
- |
the element to search for |
Return type
int or string or false
the name of the key or false
Parent class
Wagnerwagner\Merx\PricingRules inherited from Kirby\Toolkit\Iterator