Merx

$productPage->hasPrev()

Checks if there's a previous item in the collection

$productPage->hasPrev(TCollection|null $collection = null): bool

Parameters

Name Type Default
$collection TCollection or null null

Return type

bool

Parent class

Wagnerwagner\Merx\ProductPage inherited from Kirby\Cms\Page