Type Alias: ValidatorFactory()<Params>
ValidatorFactory<
Params
>: (args
) =>RuleValidator
The validation function factory.
Type Parameters
• Params
the factory arguments type.
Parameters
• args: Params
the factory arguments.
Returns
the function that checks the value and returns the result of the rule validation