Skip to content

Kirby 4.2.0

$nestcollection->valid()

Checks if the current element is valid

$nestcollection->valid(): bool

Return type

bool

Parent class

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