Options for boolean validation.
Optional
If false (default), the validator strictly matches ['true', 'false', '0', '1']. If true, the validator also matches 'yes', 'no', and case-insensitive versions of 'true' and 'false' (e.g., 'True', 'TRUE').
false
['true', 'false', '0', '1']
true
'yes'
'no'
'true'
'false'
'True'
'TRUE'
Options for boolean validation.