UNPKG

predictype

Version:

PredicType is a library of pre-built and tested predicates for TypeScript, covering various data types and operations.

16 lines (15 loc) 442 B
/** * Enums and types for boolean predicate operations. * * @module booleans/enums */ export declare enum BooleanStateEnum { IS_TRUE = "is_true", IS_FALSE = "is_false" } export type BooleanStateOper = BooleanStateEnum | `${BooleanStateEnum}`; export declare enum BooleanComparisonEnum { EQUALS = "equals", NOT_EQUALS = "not_equals" } export type BooleanComparisonOper = BooleanComparisonEnum | `${BooleanComparisonEnum}`;