Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

query.private.Predicate.validate_bool

Rust
  • Python Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

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.