# libtmux.query:predicate

- **Package:** libtmux/query
- **Language:** Common Lisp
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-lisp/blob/c2e5fc4ed3befda21f45dfa5d5868c38fd138311/src/query.lisp#L650
- **Public owner:** libtmux.query
- **Page:** https://libtmux.org/en/lisp/latest/reference/libtmux-query-predicate/

```
(predicate filter)
```

Return a genuine one-argument function that evaluates FILTER locally.
Each invocation receives a fresh execution budget and performs no tmux I/O.

## Parameters

- `filter`
