Workspace โ€บ iterateRootLeaves

Workspace.iterateRootLeaves() method

Iterate through all leaves in the main area of the workspace.

Signature:

iterateRootLeaves(callback: (leaf: WorkspaceLeaf) => any): void;

Parameters

ParameterTypeDescription
callback(leaf: WorkspaceLeaf) โ‡’ any

Returns:

void