isPublicJSDComment
Syntax
isPublicJSDComment(jsdCommentId)
Description
This routine returns the type of comment, if the comment is public, the routine will return "true"Â otherwise it will return "false".Parameters
Parameter name | Required | Description |
---|---|---|
jsdCommentId | Yes | The id of the JSD comment |
Return type
boolean (true/false)Â
If the comment is public, the routine will return "true" otherwise it will return "false".
Example
Th following code will return "true" if the last comment in that issue is external and "false" otherwise.
isPublicJSDComment(getLastComment(key)["id"]);
See also