blockly > comments > WorkspaceComment > isDeletable
Returns whether the comment is deletable or not, respecting whether the workspace is read-only.
Signature:
isDeletable(): boolean;
Returns:
boolean
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["This method checks if a WorkspaceComment is deletable, taking into account the read-only status of the workspace."],["It returns `true` if the comment can be deleted, and `false` otherwise."],["It's part of the `Blockly.comments.WorkspaceComment` class used for managing comments in Blockly workspaces."]]],[]]