blockly > Workspace > getAllVariableNames

Workspace.getAllVariableNames() method

v12: use Blockly.Workspace.getVariableMap().getAllVariables.

Returns all variable names of all types.

Signature:

getAllVariableNames(): string[];

Returns:

string[]

List of all variable names of all types.