# SheetProtection.isProtected Property

> SheetProtection.isProtected property in the TX Sheet Control TypeScript API for Node.js, with its type boolean and a TypeScript example.

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

---

The isProtected value of SheetProtection.

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

### Syntax

```typescript
readonly isProtected: boolean
```

Read through the owning object: `owner.isProtected`. 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 readReportSheetProtectionIsProtected(control: ServerSheetControl) {
    const book = control.workbook;
    const sheetProtection = book.sheets.at(0).protection;

    const value = sheetProtection['isProtected'];
    return ['SheetProtection.isProtected', 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

- [SheetProtection Class](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/sheetprotection/llms-full.txt)
- [Worksheet Protection](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/protection/llms-full.txt)

---

## Nearby

- **Previous:** [SheetProtection.canSelect Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/sheetprotection/canselect-method/llms-full.txt)
- **Next:** [SheetProtection.protect Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/sheetprotection/protect-method/llms-full.txt)
