Skip to content

Kirby 5.0.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