@react-input-validator/rules
Version:
The validation rule objects used by the packages: `@react-input-validator/core`, `@react-input-validator/native` and `@react-input-validator/web`
14 lines • 472 B
TypeScript
/**
* https://github.com/atmulyana/react-input-validator
*/
import type { IRule } from './Rule';
import ValidationRule from "./ValidationRule";
export declare class BooleanValue extends ValidationRule<any, boolean | null> {
#private;
get errorMessage(): string;
get resultValue(): boolean | null;
get valueAsBoolean(): boolean | null;
validate(): this;
}
export declare const boolean: IRule<any, boolean | null>;
//# sourceMappingURL=boolean.d.ts.map