Property Details

whether the attribute value can be null or empty. Defaults to true,
meaning that if the attribute is empty, it is considered valid.

falseValue
property

public mixed $falseValue;

the value representing false status. Defaults to '0'.

strict
property

public boolean $strict;

whether the comparison to trueValue and falseValue is strict.
When this is true, the attribute value and type must both match those of trueValue or falseValue.
Defaults to false, meaning only the value needs to be matched.