Skip to content

Kirby 4.2.0

$cache->exists()

Determines if an item exists in the cache

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

Parameters

Name Type Default
$key * string

Return type

bool

Parent class

Kirby\Cache\Cache