# window.Window.sameTmuxIdAs

- **Module:** window.Window
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/libtmux/src/window.ts#L520
- **Page:** https://libtmux.org/reference/ts/window-window-sametmuxidas/

```
window.Window.sameTmuxIdAs(other: : Window) -> boolean
```

Whether `other` carries the same `@n`, wherever it came from.

## Example

```ts
window.sameTmuxIdAs(other);
```
