Stay organized with collections
Save and categorize content based on your preferences.
blockly > Events > CommentMove > isNull
Does this event record any change of state?
Signature:
isNull(): boolean;
Returns:
boolean
False if something changed.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eisNull()\u003c/code\u003e method, belonging to the \u003ccode\u003eBlockly.Events.CommentMove\u003c/code\u003e class, determines if the event caused any state changes.\u003c/p\u003e\n"],["\u003cp\u003eIt returns \u003ccode\u003efalse\u003c/code\u003e if the comment's position or visibility was modified, implying a change, and \u003ccode\u003etrue\u003c/code\u003e otherwise.\u003c/p\u003e\n"]]],["The `CommentMove.isNull()` method, part of the Blockly Events system, determines if a `CommentMove` event represents an actual change in the state. It returns a boolean value: `false` indicates that a change has occurred, while `true` would indicate no change. The method's core function is to assess whether the `CommentMove` event reflects a modification or is simply a placeholder with no alterations.\n"],null,["[blockly](./blockly.md) \\\u003e [Events](./blockly.events_namespace.md) \\\u003e [CommentMove](./blockly.events_namespace.commentmove_class.md) \\\u003e [isNull](./blockly.events_namespace.commentmove_class.isnull_1_method.md)\n\nEvents.CommentMove.isNull() method\n\nDoes this event record any change of state?\n\n**Signature:** \n\n isNull(): boolean;\n\n**Returns:**\n\nboolean\n\nFalse if something changed."]]