<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`WorkspaceLeaf`](WorkspaceLeaf) › [`setGroupMember`](WorkspaceLeaf/setGroupMember)
## WorkspaceLeaf.setGroupMember() method
**Signature:**
```typescript
setGroupMember(other: WorkspaceLeaf): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| <code>other</code> | [`WorkspaceLeaf`](WorkspaceLeaf) | |
**Returns:**
`void`