# libtmux.Selection:where

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Lua
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-lua/blob/d68f829fe097e38dcbbf7147e276666fe615f0cf/lua/libtmux/query.lua#L294
- **Page:** https://libtmux.org/en/lua/v0.1.1/reference/libtmux-selection-where/

```
where: fun(
  self: libtmux.Selection<T>,
  criteria: libtmux.CompiledQuery|libtmux.Where,
):libtmux.Selection<T>
```

## Parameters

- `criteria` (`libtmux.CompiledQuery|libtmux.Where`)
