Skip to end of banner
Go to start of banner

isPublicJSDComment

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

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

  • No labels