Skip to content

Kirby 4.2.0

$files->valid()

Checks if the current element is valid

$files->valid(): bool

Return type

bool

Parent class

Kirby\Cms\Files inherited from Kirby\Toolkit\Iterator