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