ArrayRule
A rule that tests the array value.
Return
Creates a new instance of ArrayRule.
Parameters
predicate
The predicate to test the array value. Returns true if the test passes; false otherwise.
message
The message to return when the test fails.