Syntax
...
isPublicJSDComment(jsdCommentId)
Description
...
Excerpt |
---|
Checks This routine returns the type of comment, if the provided comment is internal or external if it's external public, the routine will return true. Otherwise return false"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
...
Code Block |
---|
isPublicJSDComment(getLastComment(key)["id"]); |
...
Th following code will return "true" if the last comment in that issue is external and "false" otherwise.
Code Block |
---|
isPublicJSDComment(getLastComment(key)["id"]); |
See
...
also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|