---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/orchestration/functions/isStructuredPredicate.md
---

# Function: isStructuredPredicate()

```ts
function isStructuredPredicate(v: unknown): v is StructuredPredicate;
```

Defined in: [src/batteries/orchestration/predicates.ts:118](https://github.com/NHTIO/ADK/blob/v1.20260906.0/src/src/batteries/orchestration/predicates.ts#L118)

Type guard for the whole [StructuredPredicate](../type-aliases/StructuredPredicate.md) union. A value is a structured predicate
iff it is one of the four shapes. Because the combinator shapes are discriminated by their
single key and a leaf by `path`/`op`, the four guards are mutually exclusive.

## Parameters

| Parameter | Type      |
| --------- | --------- |
| `v`       | `unknown` |

## Returns

`v is StructuredPredicate`
