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

pane.Pane.equals

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

View as Markdown

Module
pane
Declared in
Pane
Package
libtmux
Source
packages/libtmux/src/pane.ts
equals ( other : : unknown ) → boolean
method [source]
method [source]
equals

Whether other is this same pane on this same server.

The socket, the daemon that answered, and %n all have to match — a restarted server issues %0 again to an entirely different pane, so two handles can agree on socket and id and still name different panes. sameTmuxIdAs asks the weaker question.

Examples

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

0 declared, 0 inherited

Esc

Type to search.