blockly > Workspace > getById

Workspace.getById() method

Find the workspace with the specified ID.

Signature:

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

Parameters

Parameter Type Description
id string ID of workspace to find.

Returns:

Workspace | null

The sought after workspace or null if not found.