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