blockly > VariableMap > deleteVariable
VariableMap.deleteVariable() method
Delete a variable and all of its uses without confirmation.
Signature:
deleteVariable(variable: IVariableModel<IVariableState>): void;
Parameters
Parameter | Type | Description |
|---|---|---|
variable | Variable to delete. |
Returns:
void