blockly > VariableModel > setType
VariableModel.setType() method
Updates the type of this variable.
Signature:
setType(newType: string): this;
Parameters
Parameter | Type | Description |
|---|---|---|
newType | string |
Returns:
this
The newly-updated variable.
blockly > VariableModel > setType
Updates the type of this variable.
Signature:
setType(newType: string): this;
Parameter | Type | Description |
|---|---|---|
newType | string |
Returns:
this
The newly-updated variable.