@yobta/validator
Version:
Tree-shakable es6 validator
5 lines • 311 B
TypeScript
import type { YobtaMaybe } from '../_types/YobtaMaybe.js';
import type { YobtaSyncRule } from '../rule/rule.js';
export declare const booleanMessage = "It should be a boolean";
export declare const boolean: <I>(message?: string) => YobtaSyncRule<I, YobtaMaybe<I, boolean>>;
//# sourceMappingURL=boolean.d.ts.map