Skip to content

Kirby 4.5.0

$nestcollection->has()

Checks by key if an element is included

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

Parameters

Name Type Default
$key * mixed

Return type

bool

Parent class

Kirby\Cms\NestCollection inherited from Kirby\Toolkit\Iterator