Home > blockly > Events > CommentBase > CommentCreateDeleteHelper
Events.CommentBase.CommentCreateDeleteHelper() method
Helper function for Comment[Create|Delete]
Signature:
static CommentCreateDeleteHelper(event: CommentCreate | CommentDelete, create: boolean): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| event | CommentCreate | CommentDelete | The event to run. |
| create | boolean | if True then Create, if False then Delete |
Returns:
void