15 lines
338 B
TypeScript
15 lines
338 B
TypeScript
import { Predicate, PredicateOptions } from './predicate';
|
|||
|
|
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;
|
||
|
|
}
|