# window.Window.sameTmuxIdAs

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

```
sameTmuxIdAs(other: Window): boolean
```

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

## Examples

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

## Parameters

- `other` (`Window`)
