Namespacescommentsblockly.comments.workspacecomment.gettextOn this pageHome > blockly > comments > WorkspaceComment > getText comments.WorkspaceComment.getText() method Returns the text of the comment. Signature: getText(): string; Returns: string