CharSequenceRule
fun CharSequenceRule(predicate: CharSequence.() -> Boolean, message: () -> String): CharSequenceRule(source)
A rule that tests the CharSequence value.
Return
Creates a new instance of CharSequenceRule.
Parameters
predicate
The predicate to test the CharSequence value. Returns true
if the test passes; false
otherwise.
message
The message to return when the test fails.