Server.session(named:)
Swift
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift
- Declared in
- Server
- Package
- libtmux-swift
- Source
- Sources/LibTmux/Lookup.swift
-
The session with this name, or
nilif no session has it.Names are unique among sessions, which is why this returns one rather than a list. Use
hasSession(_:)when only existence matters — it asks tmux a question it answers with an exit status and decodes nothing.- Raises
0 declared, 0 inherited