FilterExpr
Swift
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift
- Package
- libtmux-swift
- Source
- Sources/LibTmux/FilterExpr.swift
- enum FilterExpr : enum FilterExpr
-
A filter over one model, held as data.
SendableandCodablebecause it is meant to outlive the call that built it: stored in a config, sent to another process, or translated into a tmux predicate. Closures deliberately have no place in it — they cannot be any of those things.
7 declared, 2 inherited
Members
- and(_:) constant
- comparison(field:operation:) constant
- matches(_:) method Whether one value satisfies this filter.
- not(_:) constant
- or(_:) constant
- validate() method Rejects field ids this build does not understand anywhere in the tree.
- where(_:_:) method Builds a comparison from a key path.
Inherited members
Reached through Equatable.!=(_:_:), Decodable.init(from:).
- !=(_:_:) Equatable.!=(_:_:) Returns a Boolean value indicating whether two values are not equal.
- init(from:) Decodable.init(from:) Creates a new instance by decoding from the given decoder.