tmux.ts - v0.1.3
    Preparing search index...

    Variable hasSessionConst

    hasSession: (
        options?: { targetSession?: string },
    ) => Effect<
        boolean,
        | TmuxExecutableNotFound
        | TmuxProcessError
        | TmuxServerNotRunning
        | TmuxCommandError
        | TmuxCommandOptionsError,
        TmuxProcess,
    > = ...

    Test whether a tmux session exists (tmux has-session).

    Type Declaration

    await tmux.hasSession({ targetSession: "work" });