selection.Selection.exists
TypeScript
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- selection
- Declared in
- Selection
- Package
- libtmux
- Source
- packages/libtmux/src/selection.ts
-
Whether anything matches. Cheaper to read than comparing a count to zero.
Examples
if (snapshot.windows.exists({ name: "build" })) {await session.selectWindow("build");}
0 declared, 0 inherited