libtmux Reference MCP Search
On this page

session.Session.sameTmuxIdAs

View as Markdown

Module
session
Declared in
Session
Package
@libtmux/libtmux
Source
packages/libtmux/src/session.ts
sameTmuxIdAs ( other : : Session ) boolean
method [source]
method [source]
sameTmuxIdAs

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

Sessions on unrelated servers routinely share an id; this says so, and equals says they are still different sessions.

Examples

session.sameTmuxIdAs(await session.refreshed()); // true

0 declared, 0 inherited

Esc

Type to search.