Javascript: CommentCallbackData.comment Property
Description
The added comment. Is null if no comment could be added.
Syntax
<CommentedText> CommentCallbackData.commentExamples
The following example demonstrates CommentCallbackData.comment in a practical document-editing workflow. The added comment. Is null if no comment could be added.
function inspectComment(commentCallbackData) {
const comment = commentCallbackData.comment;
console.log("comment:", comment);
}