robust-validator
Version:
Rule-based data validation library
15 lines (14 loc) • 356 B
TypeScript
/**
* The field under validation must be after the given date.
*
* @example
* import { after } from "robust-validator"
*
* const definition = {
* value: [after("2023-01-01")]
* };
* @type {string}
* @tutorial https://validator.axe-api.com/rules.html#after-date
*/
declare const _default: (date: string) => string;
export default _default;