$language->hasNext()
Checks if there's a next item in the collection
$language->hasNext(Kirby\Cms\Languages|null $collection = null): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $collection | Kirby\Cms\Languagesornull |
null
|
Return type
bool
This method modifies the existing $language object it is applied to and returns it again.