# Javascript: CommentedTextInfo.active Property

> Comment activation state.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 30.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: CommentedTextInfo.active Property
- **147 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/commentedtextinfo/active-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/commentedtextinfo/active-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/commentedtextinfo/active-property/llms-full.txt

---

### Description

Comment activation state.

### Syntax

```javascript
<boolean> CommentedTextInfo.active
```

### Examples

The following example demonstrates `CommentedTextInfo.active` in a practical document-editing workflow. Comment activation state.

```javascript
function inspectActive(commentedTextInfo) {
    const active = commentedTextInfo.active;
    console.log("active:", active);
}
```

---

## Nearby

- **Previous:** [CommentedTextInfo Object](https://docs.textcontrol.com/ds-server/reference/javascript/commentedtextinfo/llms-full.txt)
- **Next:** [Javascript: CommentedTextInfo.comment Property](https://docs.textcontrol.com/ds-server/reference/javascript/commentedtextinfo/comment-property/llms-full.txt)
