# ownership.ownedByWorkspace

- **Module:** ownership
- **Package:** @libtmux/workspace
- **Language:** TypeScript
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/workspace/src/ownership.ts#L24
- **Page:** https://libtmux.org/en/ts/latest/workspace/reference/ownership-ownedbyworkspace/

```
ownership.ownedByWorkspace(session: : Session, name: : string) -> Promise<boolean>
```

Whether this session carries the mark for `name`.
