isTrue
Deprecated
Use `truthy` instead. This will be removed in a future version.
Replace with
truthy(message)
Content copied to clipboard
Validates that the boolean value is true
.
Usage:
rules<Boolean> {
isTrue { "must be true" }
}
Content copied to clipboard
Parameters
message
The message to return when the test fails.