Skip to content

Kirby 6.0.0

$nullCache->exists()

Determines if an item exists in the cache

$nullCache->exists(string $key): bool

Parameters

Name Type Default
$keyrequired string no default value

Return type

bool

Parent class

Kirby\Cache\NullCache inherited from Kirby\Cache\Cache