UNPKG

robust-validator

Version:

Rule-based data validation library

15 lines (14 loc) 315 B
/** * The field under validation must be an array. * * @example * import { array } from "robust-validator" * * const definition = { * value: [array()] * }; * @type {string} * @tutorial https://validator.axe-api.com/rules.html#array */ declare const _default: () => string; export default _default;