open-agreements
Version:
Open-source legal template filling CLI and library
10 lines • 445 B
TypeScript
/** Bounded caller-input conditions; not an expression or computed-value language. */
export interface ConditionalPredicate {
field: string;
equals: string | number | boolean;
}
export type ConditionalRequirement = ConditionalPredicate | {
all_of: ConditionalPredicate[];
};
export declare function conditionalPredicates(condition: ConditionalRequirement): ConditionalPredicate[];
//# sourceMappingURL=conditional-predicates.d.ts.map