Skip to content

Kirby 4.2.0

$modelwithcontent->isValid()

Checks if the data has any errors

$modelwithcontent->isValid(): bool

Return type

bool

Parent class

Kirby\Cms\ModelWithContent