UNPKG

robust-validator

Version:

Rule-based data validation library

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