# tmux_select:one/1

- **Package:** libtmux_erlang
- **Language:** Erlang
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-erlang/blob/d1b6308440cf9eb8f6647e7ae434bce60e849368/apps/libtmux_erlang/src/tmux_select.erl#L233
- **Page:** https://libtmux.org/en/erlang/latest/reference/tmux_select-one-1/

```
one/1
-spec one(t(Row)) -> {ok, Row} | cardinality_error()
             when Row :: tmux_model:row().
```

Return the sole current row or a no_match/multiple_matches error. Ambiguity reports at_least = 2 rather than computing a needless exact count.

## Parameters

- `Argument1` (`t(Row)`)

## Guides

Pages that discuss `one/1`.

- [Native API documentation](/en/erlang/latest/guides/api-documentation/)
