Merx

$pricesField->hasPrev()

Checks if there's a previous item in the collection

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