# session.Session.toString

- **Module:** session
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/073b9d7dedad900bff6f5ec0ea47794e40225870/packages/libtmux/src/session.ts#L550
- **Page:** https://libtmux.org/en/ts/latest/reference/session-session-tostring/

```
toString(): string
```

How this handle renders in a log line, a template literal, or an error.

Installed with the rest of the live-handle prototype, and declared here so
the emitted types advertise it and a caller's own lint does not report the
default `[object Object]`.
