isFalse

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

Deprecated

Use `falsy` instead. This will be removed in a future version.

Replace with

falsy(message)

Validates that the boolean value is false.

Usage:

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

Parameters

message

The message to return when the test fails.