# tmux_select:to_list/1

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

```
to_list/1
-spec to_list(t(Row)) -> [Row] when Row :: tmux_model:row().
```

Return the current ordered rows as an ordinary Erlang list without I/O. Use list functions or comprehensions for transformations to other value types. Returns the stored rows without copying their binary fields. Keeping only the list allows the selection's snapshot context to be collected; other references can still keep that context alive.

## Parameters

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