Skip to main content

Home > blockly > common > getWorkspaceById

common.getWorkspaceById() function

Find the workspace with the specified ID.

Signature:

export declare function getWorkspaceById(id: string): Workspace | null;

Parameters

ParameterTypeDescription
idstringID of workspace to find.

Returns:

Workspace | null

The sought after workspace or null if not found.