---
url: 'https://adk.nht.io/api/@nhtio/adk/lib/patch/functions/isStructuredPatch.md'
---

# Function: isStructuredPatch()

```ts
function isStructuredPatch(patch: string): boolean;
```

Defined in: [src/lib/patch/index.ts:88](https://github.com/NHTIO/ADK/blob/v1.20261103.0/src/src/lib/patch/index.ts#L88)

`true` when `patch` is the structured envelope rather than a unified diff.

## Parameters

| Parameter | Type     |
| --------- | -------- |
| `patch`   | `string` |

## Returns

`boolean`
