robust-validator
Version:
Rule-based data validation library
15 lines (14 loc) • 323 B
TypeScript
/**
* The field under validation should be a hexadecimal format.
*
* @example
* import { hex } from "robust-validator"
*
* const definition = {
* value: [hex()]
* };
* @type {string}
* @tutorial https://validator.axe-api.com/rules.html#hex
*/
declare const _default: () => string;
export default _default;