UNPKG

validatorshield

Version:

Universal validation (frontend + backend) with TypeScript. Includes common rules and Sequelize-backed async rules (unique, exists).

3 lines (2 loc) 126 B
import { RuleContext } from '../validator'; export declare function max(value: any, _ctx: RuleContext, max: string): boolean;