Skip to content

Kirby 4.4.1

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