The message to use to describe what is expected. This will be used in the error message template.
Returns true if the given input is valid.
Stringifies the input for use as the actual {1} token in the validation
expectation template. Default is stringifyForPrint with a 500 character max length.
Creates a new basic validator.
For a deep validator which has sub-fields, use createDeepValidator.