Skip to content

Kirby 4.4.1

$path->has()

Checks by key if an element is included

$path->has(mixed $key): bool

Parameters

Name Type Default
$key * mixed

Return type

bool

Parent class

Kirby\Http\Path inherited from Kirby\Toolkit\Iterator