UNPKG

robust-validator

Version:

Rule-based data validation library

16 lines (15 loc) 425 B
/** * The field under validation must be numeric and must have length between * given min and max. * * @example * import { digitsBetween } from "robust-validator" * * const definition = { * value: [digitsBetween(4, 6)] * }; * @type {string} * @tutorial https://validator.axe-api.com/rules.html#digits-between-min-max */ declare const _default: (min: number, max: number) => string; export default _default;