$language->isFirst()
Checks if the item is the first in the collection
$language->isFirst(Languages|null $collection = null): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $collection | Kirby\Cms\Languagesornull |
null
|
Return type
bool