$productPage->hasNext()
Checks if there's a next item in the collection
$productPage->hasNext(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