falsy

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

Validates that the boolean value is false.

Usage:

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

Parameters

message

The message to return when the test fails.