blockly > Variables > allDeveloperVariables

Variables.allDeveloperVariables() function

Find all developer variables used by blocks in the workspace. Developer variables are never shown to the user, but are declared as global variables in the generated code. To declare developer variables, define the getDeveloperVariables function on your block and return a list of variable names. For use by generators.


export declare function allDeveloperVariables(workspace: Workspace): string[];


Parameter Type Description
workspace Workspace The workspace to search.



A list of non-duplicated variable names.