@clickup/ent-framework
Version:
A PostgreSQL graph-database-alike library with microsharding and row-level security
12 lines • 510 B
TypeScript
import type { VC } from "../VC";
import type { Predicate } from "./Predicate";
/**
* Checks that at least one of the children predicates succeed.
*/
export declare class Or<TInput> implements Predicate<TInput> {
readonly name: string;
readonly predicates: ReadonlyArray<Predicate<TInput>>;
constructor(...predicates: ReadonlyArray<Predicate<TInput> | ((vc: VC, input: TInput) => Promise<boolean> | boolean)>);
check(vc: VC, input: TInput): Promise<boolean>;
}
//# sourceMappingURL=Or.d.ts.map