libtmux Reference MCP Search
On this page

window.Window.equals

View as Markdown

Module
window
Declared in
Window
Package
@libtmux/libtmux
Source
packages/libtmux/src/window.ts
equals ( other : : unknown ) boolean
method [source]
method [source]
equals

Whether other is this same window on this same server.

The socket, the daemon that answered, and @n all have to match: tmux ids are unique only within one running daemon, and a restart reissues them. Two placements of one linked window are the same window, so this is true for both. sameTmuxIdAs asks the weaker question.

Examples

window.equals(await window.refreshed()); // true

0 declared, 0 inherited

Esc

Type to search.