# libtmux.common.has_lt_version

- **Module:** libtmux.common
- **Package:** libtmux
- **Language:** Python
- **Kind:** function
- **Source:** https://github.com/tmux-python/libtmux/blob/036c521c4b83ce6e434eb50afe2a0d08a6a05e46/src/libtmux/common.py#L590
- **Page:** https://libtmux.org/reference/py/libtmux-common-has_lt_version/

```
libtmux.common.has_lt_version(max_version: str, tmux_bin: str | None = None) -> bool
```

Return True if tmux version less than minimum.

## Parameters

- `max_version` (str) — tmux version, e.g. '3.2a'
- `tmux_bin` (str | None) — Path to tmux binary. If *None*, uses the system tmux.

## Returns

bool
    True if version below max_version
