blockly > Block > isOwnDeletable
Block.isOwnDeletable() method
Return whether this block's own deletable property is true or false.
Signature:
isOwnDeletable(): boolean;
Returns:
boolean
True if the block's deletable property is true, false otherwise.
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."],[[["The `isOwnDeletable()` method indicates whether a specific block can be deleted or not based on its individual properties."],["It returns `true` if the block's own `deletable` property is set to `true`, otherwise it returns `false`."]]],[]]