validatorDecoratorFactory is a utility function used to create Validator type property decorators, used to validate the value of a property.
validatorDecoratorFactory
Validator
The name of the 'validator' type decorator.
A function that validates the value of the decorated property.
Optional
Optional configuration.
The property decorator function.
Use this factory function to design custom 'Validator' type decorators tailored to specific data format requirements that are not supported by the library yet.
validatorDecoratorFactory
is a utility function used to createValidator
type property decorators, used to validate the value of a property.