Skip to main content

Home > blockly > Workspace > getById

Workspace.getById() method

Find the workspace with the specified ID.

Signature:

static getById(id: string): Workspace | null;

Parameters

ParameterTypeDescription
idstringID of workspace to find.

Returns:

Workspace | null

The sought after workspace or null if not found.