blockly > Workspace > getAllVariables

Workspace.getAllVariables() メソッド

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

すべてのタイプのすべての変数を返します。

署名:

getAllVariables(): IVariableModel<IVariableState>[];

戻り値:

IVariableModel<IVariableState>[]

変数モデルのリスト。