# WorksheetDocument.merges Property

> WorksheetDocument.merges property in the TX Sheet Control TypeScript API for Node.js, with its type string[] | undefined and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > WorksheetDocument > WorksheetDocument.merges Property
- **337 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/merges-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/merges-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/merges-property/llms-full.txt

---

The merges value of WorksheetDocument.

Owner: [WorksheetDocument](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/llms-full.txt). Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

### Syntax

```typescript
merges?: string[] | undefined
```

Read through the owning object: `owner.merges`. Follow the declared mutability and owning object lifetime.

### Examples

Pass the WorksheetDocument value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

```typescript
function inspectWorksheetDocumentMerges(worksheetDocument: { merges: string[] | undefined }) {
    const value = worksheetDocument['merges'];
    console.log('WorksheetDocument.merges', value);
}
```

### Remarks

Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.

### See Also

- [WorksheetDocument Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/llms-full.txt)
- [Mail Merge With JSON](https://docs.textcontrol.com/tx-sheet-control/mail-merge/overview/llms-full.txt)

---

## Nearby

- **Previous:** [WorksheetDocument.maxRows Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/maxrows-property/llms-full.txt)
- **Next:** [WorksheetDocument.namedStyles Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdocument/namedstyles-property/llms-full.txt)
