On this page
Server.hasSession(_:)
- Declared in
- Server
- Package
- libtmux-swift
- Source
- Sources/LibTmux/Server.swift
-
Whether a session by this name or id exists.
Asks the question tmux has a command for rather than listing every session and searching one:
has-sessionanswers with its exit status, so this decodes nothing and stays correct for a name a listing would have to be parsed to find.- Raises
0 declared, 0 inherited