$pricesField->isNth()
Checks if the item is at a certain position
$pricesField->isNth(int $n, TCollection|null $collection = null): bool
Parameters
| Name | Type | Default |
|---|---|---|
$n |
int |
- |
$collection |
TCollection or null |
null |
Return type
bool
Parent class
Wagnerwagner\Merx\PricesField inherited from Kirby\Form\Field