robust-validator
Version:
Rule-based data validation library
16 lines (15 loc) • 367 B
TypeScript
/**
* Validate that an attribute is numeric. The string representation of a number
* will pass.
*
* @example
* import { numeric } from "robust-validator"
*
* const definition = {
* value: [numeric()]
* };
* @type {string}
* @tutorial https://validator.axe-api.com/rules.html#numeric
*/
declare const _default: () => string;
export default _default;