Skip to content

Kirby 4.1.2

$file->isValid()

Checks if the data has any errors

$file->isValid(): bool

Return type

bool

Parent class

Kirby\Cms\File inherited from Kirby\Cms\ModelWithContent