ow
Version:
Function argument validation for humans
16 lines (15 loc) • 346 B
TypeScript
import { Predicate, type PredicateOptions } from './predicate.js';
export declare class BooleanPredicate extends Predicate<boolean> {
/**
@hidden
*/
constructor(options?: PredicateOptions);
/**
Test a boolean to be true.
*/
get true(): this;
/**
Test a boolean to be false.
*/
get false(): this;
}