Workspace.iterateLeaves method
Workspace › iterateLeaves
Unofficial
Iterate the leaves of a split.Signature:
iterateLeaves(split: WorkspaceSplit, callback: (leaf: WorkspaceLeaf) => unknown): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| split | WorkspaceSplit | The split to iterate. |
| callback | (leaf: WorkspaceLeaf) => unknown | The callback to call for each leaf. |
Returns: void