Merx

$productPage->isLast()

Checks if the item is the last in the collection

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