$pricesField->isFirst()
Checks if the item is the first in the collection
$pricesField->isFirst(TCollection|null $collection = null): bool
Parameters
| Name | Type | Default |
|---|---|---|
$collection |
TCollection or null |
null |
Return type
bool
Parent class
Wagnerwagner\Merx\PricesField inherited from Kirby\Form\Field