UNPKG

robust-validator

Version:

Rule-based data validation library

15 lines (14 loc) 391 B
/** * The field unter validation must be after or equal to the given field * * @example * import { afterOrEqual } from "robust-validator" * * const definition = { * value: [afterOrEqual("2023-01-01")] * }; * @type {string} * @tutorial https://validator.axe-api.com/rules.html#after-or-equal-date */ declare const _default: (date: string) => string; export default _default;