blockly > Block > isOwnEditable
Block.isOwnEditable() method
Return whether this block's own editable property is true or false.
Signature:
isOwnEditable(): boolean;
Returns:
boolean
True if the block's editable 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 `isOwnEditable()` method determines if a block's own `editable` property is set to true or false."],["It returns `true` if the block's `editable` property is true, otherwise it returns `false`."],["This method focuses solely on the block's individual editable state, not considering parent or workspace settings."]]],["The `Block.isOwnEditable()` method determines if a block's editable property is set to true or false. It returns a boolean value. If the block's editable property is true, the method returns true; otherwise, it returns false. The method's signature is `isOwnEditable(): boolean;`.\n"]]