# query.private.Predicate.validate_many

- **Module:** query.private.Predicate
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/query/private.rs#L581
- **Page:** https://libtmux.org/reference/rs/query-private-predicate-validate_many/

```
query.private.Predicate.validate_many(self) -> Result<(), FilterExpressionError>
```

Validate this predicate as a to-many relation over `U`.

Validation walks every nested logical branch and delegates each
leaf to `U`'s generated schema implementation.

# Errors

Returns [`FilterExpressionErrorKind::UnknownOperator`] for a scalar
predicate, [`FilterExpressionErrorKind::UnknownQuantifier`] for
`is`, or the exact source-less nested schema error.

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