Home > blockly > serialization > workspaceComments > WorkspaceCommentSerializer > clear
serialization.workspaceComments.WorkspaceCommentSerializer.clear() method
Disposes of any comments that exist on the given workspace.
Signature:
clear(workspace: Workspace): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| workspace | Workspace |
Returns:
void