$language->hasPrev()
Checks if there's a previous item in the collection
$language->hasPrev(Languages|null $collection = null): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $collection | Kirby\Cms\Languagesornull |
null
|
Return type
bool