robust-validator
Version:
Rule-based data validation library
16 lines (15 loc) • 383 B
TypeScript
/**
* The field under validation may have alpha-numeric characters, as well as
* dashes and underscores.
*
* @example
* import { alphaDash } from "robust-validator"
*
* const definition = {
* value: [alphaDash()]
* };
* @type {string}
* @tutorial https://validator.axe-api.com/rules.html#alpha-dash
*/
declare const _default: () => string;
export default _default;