# query.matching.set_matches

- **Module:** query.matching
- **Package:** libtmux
- **Language:** Rust
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/query/matching.rs#L211
- **Page:** https://libtmux.org/reference/rs/query-matching-set_matches/

```
query.matching.set_matches(operator: SetOperator, values: &[T], candidate: &T) -> bool
```

Evaluate one operator against its operands.

Ordering compares against the single bound `has_valid_shape` requires;
a malformed predicate that reached here matches nothing rather than
panicking on an absent bound.
