blockly > 工作區 > getAllVariableNames

Workspace.getAllVariableNames() 方法

v12:使用 Blockly.Workspace.getVariableMap().getAllVariables。

傳回所有類型的所有變數名稱。

Signature:

getAllVariableNames(): string[];

退貨:

string[]

所有類型的所有變數名稱清單。