Skip to content

Kirby 6.0.0

$language->hasNext()

Checks if there's a next item in the collection

$language->hasNext(Languages|null $collection = null): bool

Parameters

Name Type Default
$collection Kirby\Cms\Languagesornull null

Return type

bool

Parent class

Kirby\Cms\Language