# EnvironmentScope

- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/Environment.swift#L5
- **Page:** https://libtmux.org/reference/swift/environmentscope/

Which environment a variable lives in.

tmux keeps two, and only two: one global, and one per session. There is no
window or pane environment, so this cannot ask for one — unlike
``OptionScope``, whose four tables are all real.

## Members

- `!=(_:_:)` (function) — Returns a Boolean value indicating whether two values are not equal.
- `global` (constant)
- `session(_:)` (constant) — A session's own environment, addressed by name or id.
- `init(from:)` (method) — Creates a new instance by decoding from the given decoder.
