# Worksheet.validation Property

> Worksheet.validation property in the TX Sheet Control TypeScript API for Node.js, with its type SheetValidation and a TypeScript example.

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

---

The validation value of Worksheet.

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

### Syntax

```typescript
readonly validation: SheetValidation
```

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

### Examples

Use a fresh sample workbook for this example. In the browser pass editor.workbook; in Node.js pass the server control. Document-bound objects are obtained from that same owner.

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

function readReportWorksheetValidation(control: ServerSheetControl) {
    const book = control.workbook;
    const worksheet = book.sheets.at(0);

    const value = worksheet['validation'];
    return ['Worksheet.validation', 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

- [Worksheet Class](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheet/llms-full.txt)
- [Data Validation](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/validation/llms-full.txt)
- [SheetValidation Class](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/sheetvalidation/llms-full.txt)

---

## Nearby

- **Previous:** [Worksheet.updateSparklineGroup Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheet/updatesparklinegroup-method/llms-full.txt)
- **Next:** [Worksheet.viewport Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheet/viewport-property/llms-full.txt)
