Skip to content

Kirby 6.0.0

$field->isValid()

Validates the field content with the given validator and parameters

$field->isValid(string $validator, mixed ...$arguments): bool

Parameters

Name Type Default
$validatorrequired string no default value
...$arguments mixed no default value

Return type

bool

Parent class

Kirby\Content\Field