Protected
addOptional
categories: ValidationCategory[]Register a set of validation checks. Each value in the record can be either a single validation check (i.e. a function) or an array of validation checks.
Set of validation checks to register.
Optional object to be used as this
when calling the validation check functions.
Optional category for the validation checks (defaults to 'fast'
).
Protected
wrap
Manages a set of
ValidationCheck
s to be applied when documents are validated.