$content->has()
Checks if a content field is set
$content->has(string $key): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $key * | string |
– |
Return type
bool
Checks if a content field is set
$content->has(string $key): bool
| Name | Type | Default |
|---|---|---|
| $key * | string |
– |
bool