Custom error message if test fails. (check Rule.formatMessage for more customization details)
Function to check if the value should be allowed. Returns the string error if any, otherwise returns false or undefined.
string
false
undefined
Generated using TypeDoc
Custom error message if test fails. (check Rule.formatMessage for more customization details)