blockly > VariableMap > addVariable
VariableMap.addVariable() method
Adds the given variable to this variable map.
Signature:
addVariable(variable: IVariableModel<IVariableState>): void;
Parameters
Parameter | Type | Description |
|---|---|---|
variable | The variable to add. |
Returns:
void