$taxRulesField->indexOf()
Returns the position / index in the collection
$taxRulesField->indexOf(TCollection|null $collection = null): int|false
Parameters
| Name | Type | Default |
|---|---|---|
$collection |
TCollection or null |
null |
Return type
int or false
Parent class
Wagnerwagner\Merx\TaxRulesField inherited from Kirby\Form\Field