Merx

$pricesField->isLast()

Checks if the item is the last in the collection

$pricesField->isLast(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