Skip to content

Kirby 6.0.0

$modelWithContent->isValid()

Checks if the data has any errors

$modelWithContent->isValid(): bool

Return type

bool

Parent class

Kirby\Cms\ModelWithContent