On this page
FilterExpr
- 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.
9 declared, 0 inherited
Members
- and(_:) constant
- comparison(field:operation:) constant
- not(_:) constant
- or(_:) constant
- !=(_:_:) function Returns a Boolean value indicating whether two values are not equal.
- init(from:) method Creates a new instance by decoding from the given decoder.
- matches(_:) method Whether one value satisfies this filter.
- validate() method Rejects field ids this build does not understand anywhere in the tree.
- where(_:_:) method Builds a comparison from a key path.