robust-validator
Version:
Rule-based data validation library
15 lines (14 loc) • 344 B
TypeScript
/**
* Validate that an attribute is no greater than a given size
*
* @example
* import { max } from "robust-validator"
*
* const definition = {
* value: [max(20)]
* };
* @type {string}
* @tutorial https://validator.axe-api.com/rules.html#max-value
*/
declare const _default: (value: number) => string;
export default _default;