# TmuxOption

- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/Options.swift#L36
- **Page:** https://libtmux.org/reference/swift/tmuxoption/

One tmux option.

## Members

- `!=(_:_:)` (function) — Returns a Boolean value indicating whether two values are not equal.
- `name` (property) — The option's name as tmux spells it, `@`-prefixed for a user option.
- `value` (property) — The value exactly as tmux printed it. tmux quotes values that need it, and unquoting is lossy without knowing the option's type, so the raw text is what the library keeps.
- `scope` (property) — The exact table this was read from.
- `init(name:value:scope:)` (method)
- `isUserOption` (property) — A user option — one whose name begins with `@`. tmux never interprets these, so they are the safe place to keep your own state on a server.
- `init(from:)` (method) — Creates a new instance by decoding from the given decoder.
