$api->hasData()
Checks if injected data exists for the given key
Parameters
Name | Type | Default |
---|---|---|
$key * | string |
– |
Return type
bool
Parent class
Kirby\Cms\Api
inherited from Kirby\Api\Api
Checks if injected data exists for the given key
Name | Type | Default |
---|---|---|
$key * | string |
– |
bool
Kirby\Cms\Api
inherited from Kirby\Api\Api