Skip to content

Kirby 6.0.1

$memoryCache->exists()

Determines if an item exists in the cache

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

Parameters

Name Type Default
$keyrequired string no default value

Return type

bool

Parent class

Kirby\Cache\MemoryCache inherited from Kirby\Cache\Cache