Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

session.Session.sameTmuxIdAs

TypeScript
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
session
Declared in
Session
Package
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.