Merx

$productPage->isFirst()

Checks if the item is the first in the collection

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