isFalse

fun BooleanRuleBuilder.isFalse(message: () -> String)

Validates that the boolean value is false.

Usage:

rules<Boolean> {
isFalse { "must be false" }
}

Parameters

message

The message to return when the test fails.