blockly > VariableModel
VariableModel class
Class for a variable model. Holds information for the variable including name, ID, and type.
Signature:
export declare class VariableModel
Constructors
Properties
Methods
Method |
Modifiers |
Description |
getId() |
|
|
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 `VariableModel` class stores information about a variable, including its name, ID, and type."],["It has a constructor to create new instances and methods to manage its properties."],["Key properties include `name`, `type`, and the `workspace` it belongs to."],["You can access the variable's unique identifier with the `getId()` method."]]],[]]