Skip to content

Kirby 4.4.1

$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