# Javascript: CommentCallbackData.addResult Property

> Indicates whether the comment was added successfully.

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

---

### Description

Indicates whether the comment was added successfully.

### Syntax

```javascript
<AddResult> CommentCallbackData.addResult
```

### Examples

The following example demonstrates `CommentCallbackData.addResult` in a practical document-editing workflow. Indicates whether the comment was added successfully.

```javascript
function inspectAddResult(commentCallbackData) {
    const addResult = commentCallbackData.addResult;
    console.log("add result:", addResult);
}
```

---

## Nearby

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