# ownership.ownedByWorkspace

**Workspace Manager concept example** A working example of the core library. It can change without notice.

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

```
async function ownedByWorkspace(
  session: Session,
  name: string,
  acquisition: { signal?: AbortLike } = {},
): Promise<boolean>
```

Whether this session carries the mark for `name`.

## Parameters

- `session` (`Session`)
- `name` (`string`)
- `acquisition` (`{ signal?: AbortLike }`)
  Default: `{}`.
