<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`Workspace`](Workspace) › [`getRightLeaf`](Workspace/getRightLeaf)
## Workspace.getRightLeaf() method
Create a new leaf inside the right sidebar.
**Signature:**
```typescript
getRightLeaf(split: boolean): WorkspaceLeaf | null;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| <code>split</code> | <code>boolean</code> | <p>Should the existing split be split up?</p><p> 0.9.7</p> |
**Returns:**
[`WorkspaceLeaf`](WorkspaceLeaf)` | null`