UNPKG

ow

Version:

Function argument validation for humans

16 lines (15 loc) 402 B
import { Predicate, type PredicateOptions, type Validator } from './predicate.js'; export declare class BooleanPredicate extends Predicate<boolean> { /** @hidden */ constructor(options?: PredicateOptions, validators?: Array<Validator<boolean>>); /** Test a boolean to be true. */ get true(): this; /** Test a boolean to be false. */ get false(): this; }