libtmux Reference MCP Search
On this page

query.private.Predicate.validate_bool

View as Markdown

Module
query.private
Declared in
Predicate
Package
libtmux
Source
crates/libtmux/src/query/private.rs
validate_bool ( self ) Result<(), FilterExpressionError>
method [source]
method [source]
validate_bool

Validate that this predicate is a well-formed boolean predicate.

Errors

Returns FilterExpressionErrorKind::UnknownOperator for another scalar family and FilterExpressionErrorKind::InvalidStructure for an invalid equality shape.

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

0 declared, 0 inherited

Esc

Type to search.