# MailMergeBinding.type Property

> MailMergeBinding.type property in the browser TypeScript API, with its type "string" | "number" | "boolean" | "date-iso" | undefined and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > MailMergeBinding > MailMergeBinding.type Property
- **391 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/mailmergebinding/type-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/mailmergebinding/type-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/mailmergebinding/type-property/llms-full.txt

---

The type value of MailMergeBinding.

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

### Syntax

```typescript
type?: "string" | "number" | "boolean" | "date-iso" | undefined
```

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

### Examples

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

```typescript
import type { MailMergeBinding } from '@txtextcontrol/tx-sheet-control';

function inspectMailMergeBindingType(mailMergeBinding: MailMergeBinding) {
    const value = mailMergeBinding['type'];
    console.log('MailMergeBinding.type', 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

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

---

## Nearby

- **Previous:** [MailMergeBinding.sheetId Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/mailmergebinding/sheetid-property/llms-full.txt)
- **Next:** [MailMergeDataSourceInfo Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/mailmergedatasourceinfo/llms-full.txt)
