BooleanRule

A type alias for validation rules that operate on Boolean values.

Boolean rules are validation functions that take a Boolean value and return a ValidationResult indicating whether the validation passed or failed.