UNPKG

robust-validator

Version:

Rule-based data validation library

16 lines (15 loc) 364 B
/** * The value should be defined. null, undefined or empty strings are not * acceptable. * * @example * import { required } from "robust-validator" * * const definition = { * value: [required()] * }; * @type {string} * @tutorial https://validator.axe-api.com/rules.html#required */ declare const _default: () => string; export default _default;