Function: isPredicateLeaf()
ts
function isPredicateLeaf(v: unknown): v is PredicateLeaf;Defined in: src/batteries/orchestration/predicates.ts:73
Type guard for PredicateLeaf. A leaf is a plain object carrying a string path and a string op; the op is narrowed to PredicateOp only when it is a member of the closed set.
Parameters
| Parameter | Type |
|---|---|
v | unknown |
Returns
v is PredicateLeaf