Home > blockly > Names > setVariableMap
Names.setVariableMap() method
Set the variable map that maps from variable name to variable object.
Signature:
setVariableMap(map: IVariableMap<IVariableModel<IVariableState>>): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| map | IVariableMap<IVariableModel<IVariableState>> | The map to track. |
Returns:
void