$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 | string orKirby\Cms\Fieldset |
no default value |
Return type
bool
Parent class
Kirby\Cms\Fieldsets
inherited from Kirby\Cms\Collection