UNPKG

robust-validator

Version:

Rule-based data validation library

17 lines (16 loc) 482 B
/** * The field under validation must have a matching field of foo_confirmed. * For example, if the field under validation is password, a matching * password_confirmed field must be present in the input. * * @example * import { confirmed } from "robust-validator" * * const definition = { * value: [confirmed()] * }; * @type {string} * @tutorial https://validator.axe-api.com/rules.html#confirmed */ declare const _default: () => string; export default _default;