FilterOperation
How a filter compares one field.
Source and package
- Qualified name
-
FilterOperation - Package
- libtmux-swift
- Source
- Sources/LibTmux/FilterExpr.swift
- enum FilterOperation : enum Filter
Operation -
Description#
Written as a wire value rather than a closure, so an expression can be stored, sent, inspected, and later compiled to a tmux
-fpredicate. A regular expression travels in compiled, bounded form.
Members8#
- caseInsensitiveContains(_:): case caseInsensitiveContains(String) constant
- caseInsensitiveEquals(_:): case caseInsensitiveEquals(String) constant
- contains(_:): case contains(String) constant
- equals(_:): case equals(Filter
Value ) constant - hasPrefix(_:): case hasPrefix(String) constant
- hasSuffix(_:): case hasSuffix(String) constant
- isIn(_:): case isIn([Filter
Value ]) constant - matches(pattern:): case matches(pattern: Regex
Pattern ) constant
Inherited members2 members#
Reached through Equatable.!=(_:_:), Decodable.init(from:).
- !=(_:_:) function inherited Returns a Boolean value indicating whether two values are not equal.
- init(from:) method inherited Creates a new instance by decoding from the given decoder.