$field->isInvalid()
Checks if the field is invalid
$field->isInvalid(): bool
Return type
bool
This method modifies the existing $field
object it is applied to and returns it again.
Checks if the field is invalid
$field->isInvalid(): bool
bool
This method modifies the existing $field
object it is applied to and returns it again.