$languages->has()
Checks if the given object or id is in the collection
$languages->has(string|Kirby\Cms\Language $key): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $keyrequired | stringorKirby\Cms\Language |
no default value |
Return type
bool
This method modifies the existing $languages object it is applied to and returns it again.
Parent class
Kirby\Cms\Languages
inherited from Kirby\Cms\Collection