UNPKG

ts-cast

Version:
5 lines (4 loc) 291 B
import { Predicate } from './types'; export declare const not: <T>(predicate: Predicate<T>) => (value: T) => boolean; export declare const or: <T>(...predicates: Predicate<T>[]) => (value: T) => boolean; export declare const and: <T>(...predicates: Predicate<T>[]) => (value: T) => boolean;