robust-validator
Version:
Rule-based data validation library
16 lines (15 loc) • 388 B
TypeScript
/**
* The field under validation must be a boolean value of the form true, false,
* 0, 1, 'true', 'false', '0', '1',
*
* @example
* import { boolean } from "robust-validator"
*
* const definition = {
* value: [boolean()]
* };
* @type {string}
* @tutorial https://validator.axe-api.com/rules.html#boolean
*/
declare const _default: () => string;
export default _default;