Skip to content

Kirby 4.5.0

Cookie::exists()

Checks if a cookie exists

Cookie::exists(string $key): bool

Parameters

Name Type Default
$key * string

Return type

bool

Parent class

Kirby\Http\Cookie