A Validator checks if a value is valid and returns a
ValidationResult containing the ConstraintViolations.
If the value is valid the returned ValidationResult must be empty.
an empty ValidationResult if the value is valid, otherwise a non-empty ValidationResult
the value to validate
Generated using TypeDoc
the type of the value to validate