klyn.code.TokenKind.isComment
method
public isComment() as Boolean
Description

Returns true when this token represents a line, block, or documentation comment.

Returns

true for COMMENT and DOC_COMMENT.

Example
import klyn.code

assert TokenKind.DOC_COMMENT.isComment()