Skip to content
1 min read · 22 words

Type Alias: ParsePredicateResult

ts
type ParsePredicateResult =
  | {
      ok: true;
      predicate: StructuredPredicate;
    }
  | {
      ok: false;
      reason: string;
    };

Defined in: src/batteries/orchestration/predicates.ts:170

The result of parseStructuredPredicate: either a validated predicate, or a model-addressed reason naming the fix.