blockly > Workspace > getAllVariables

Workspace.getAllVariables() 메서드

v12: Blockly.Workspace.getVariableMap().getAllVariables를 사용합니다.

모든 유형의 모든 변수를 반환합니다.

서명:

getAllVariables(): IVariableModel<IVariableState>[];

반환:

IVariableModel<IVariableState>[]

변수 모델 목록입니다.