UNPKG

robust-validator

Version:

Rule-based data validation library

15 lines (14 loc) 338 B
/** * Validate that an attribute is at least a given size. * * @example * import { min } from "robust-validator" * * const definition = { * value: [min(20)] * }; * @type {string} * @tutorial https://validator.axe-api.com/rules.html#min-value */ declare const _default: (value: number) => string; export default _default;