# TmuxVersion

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

A tmux release, ordered the way tmux numbers them.

The trailing letter is part of the version, not decoration: tmux 3.7 shipped
a `break-pane` crash that 3.7a reverted, so code that has to know which one
it is talking to needs `3.7 < 3.7a` to be true. Comparing on the numbers
alone would make those two equal and the question unanswerable.

## Members

- `...(_:_:)` (function) — Returns a closed range that contains both of its bounds.
- `>(_:_:)` (function) — Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
- `<=(_:_:)` (function) — Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument.
- `>=(_:_:)` (function) — Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument.
- `!=(_:_:)` (function) — Returns a Boolean value indicating whether two values are not equal.
- `..<(_:_:)` (function) — Returns a half-open range that contains its lower bound but not its upper bound.
- `..<(_:)` (function) — Returns a partial range up to, but not including, its upper bound.
- `...(_:)` (function) — Returns a partial range up to, and including, its upper bound.
- `major` (property) — The major version — `3` in `3.7a`.
- `minor` (property) — The minor version — `7` in `3.7a`.
- `pointRelease` (property) — The point release's letter — `a` in `3.7a` — empty when there is none. Ordered as tmux issues them, so no letter precedes `a` precedes `b`.
- `build` (property) — What tmux was built from when it is not a release: `master` for a git build, `openbsd` for the one in OpenBSD's base system. Absent otherwise.
- `init(major:minor:pointRelease:build:)` (method)
- `init(parsing:)` (method) — Reads what `tmux -V` prints.
- `<(_:_:)` (function) — Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument.
- `init(from:)` (method) — Creates a new instance by decoding from the given decoder.
- `description` (property) — A textual representation of this instance.
