$language->hasPrev()
Checks if there's a previous item in the collection
$language->hasPrev(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.