robust-validator
Version:
Rule-based data validation library
15 lines (14 loc) • 331 B
TypeScript
/**
* The field under validation must have an integer value.
*
* @example
* import { integer } from "robust-validator"
*
* const definition = {
* value: [integer()]
* };
* @type {string}
* @tutorial https://validator.axe-api.com/rules.html#integer
*/
declare const _default: () => string;
export default _default;