notBlank

Validates that the CharSequence value is not blank.

Usage:

rules<CharSequence> {
notBlank { "must be not blank" }
}

Parameters

message

The message to return when the test fails.


Validates that the string value is not blank.

Usage:

rules<String> {
notBlank { "must be not blank" }
}

Parameters

message

The message to return when the test fails.