# query.private.Predicate.matches_many

- **Module:** query.private.Predicate
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/query/private.rs#L302
- **Page:** https://libtmux.org/en/rs/latest/reference/query-private-predicate-matches_many/

```
query.private.Predicate.matches_many(self, values: &[U]) -> bool
```

Match this relation predicate against already-loaded related values.

`any`, `all`, and `none` use the standard iterator truth table and
short-circuit from left to right. Other predicate families and the
to-one `is` quantifier return `false`.

The [`crate::query::Filterable`] relation example executes this
method in a hand-written generated-code expansion.
