Skip to main content
Two constraints for Boolean values, such as the checkbox that accepts the terms. Their messages are mustBeTrue and mustBeFalse, since a message property cannot be named isTrue.
Consent.kt

isTrue

isTrue() on Boolean Checks that the value is true. isTrue

isFalse

isFalse() on Boolean Checks that the value is false. isFalse