session.Session.equals
TypeScript
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- session
- Declared in
- Session
- Package
- libtmux
- Source
- packages/libtmux/src/session.ts
-
Whether
otheris this same session on this same server.The socket, the daemon that answered, and
$nall have to match. tmux ids are unique only within one running daemon and a restart reissues$0to something else, so the daemon is part of the identity rather than a detail of how it was read.sameTmuxIdAsasks the weaker question.Examples
session.equals(await session.refreshed()); // true
0 declared, 0 inherited