Skip to content

Kirby 5.0.1

$cache->exists()

Determines if an item exists in the cache

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

Parameters

Name Type Default
$keyrequired string no default value

Return type

bool

Parent class

Kirby\Cache\Cache