Skip to main content

Introducing Workflow Engine, try for FREE workflowengine.io.

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

RuleValidator

the function that checks the value and returns the result of the rule validation