# EnvironmentScope

- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmux/Environment.swift#L6
- **Page:** https://libtmux.org/en/swift/latest/reference/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.
