blockly > Workspace > getAllVariables

Metoda Workspace.getAllVariables()

v12: użyj Blockly.Workspace.getVariableMap().getAllVariables.

Zwraca wszystkie zmienne wszystkich typów.

Podpis:

getAllVariables(): IVariableModel<IVariableState>[];

Zwroty:

IVariableModel<IVariableState>[]

Lista modeli zmiennych.