Skip to main content

Home > blockly > Workspace > getAllVariableNames

Workspace.getAllVariableNames() method

Warning: This API is now obsolete.

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.