$fieldsets->has()
Checks if the given object or id is in the collection
$fieldsets->has(string|Fieldset $key): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $keyrequired | stringorKirby\Cms\Fieldset |
no default value |
Return type
bool
Parent class
Kirby\Cms\Fieldsets
inherited from Kirby\Cms\Collection