$nestCollection->has()
Checks by key if an element is included
$nestCollection->has(string $key): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $keyrequired | string |
no default value |
Return type
bool
Parent class
Kirby\Cms\NestCollection
inherited from Kirby\Toolkit\Iterator