Merx

$taxRules->indexOf()

Correct position detection for objects. The method will automatically detect objects or ids and then search accordingly.

$taxRules->indexOf(string|TValue $needle): int|false

Parameters

Name Type Default
$needle string or TValue -

Return type

int or false

Parent class

Wagnerwagner\Merx\TaxRules inherited from Kirby\Cms\Collection