$item->hasNext()
Checks if there's a next item in the collection
$item->hasNext(\Kirby\Cms\Collection|null $collection = null): boolParameters
| Name | Type | Default | 
|---|---|---|
| $collection | Kirby\Cms\Collection|null | null | 
Return type
bool