UNPKG

robust-validator

Version:

Rule-based data validation library

5 lines (4 loc) 218 B
import { IRuleDefinition } from "./Interface"; import { RuleType } from "./Types"; export declare const toRuleDefinition: (rule: string) => IRuleDefinition; export declare const toRuleType: (name: string) => RuleType;