* Returns the comment on this block (or null if there is no comment). * * @returns Block's comment.
()
| 2333 | * @returns Block's comment. |
| 2334 | */ |
| 2335 | getCommentText(): string | null { |
| 2336 | const comment = this.getIcon(IconType.COMMENT); |
| 2337 | return comment?.getText() ?? null; |
| 2338 | } |
| 2339 | |
| 2340 | /** |
| 2341 | * Set this block's comment text. |
no test coverage detected