Skip to content

Kirby 4.5.0

$memorycache->exists()

Determines if an item exists in the cache

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

Parameters

Name Type Default
$key * string

Return type

bool

Parent class

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