# RelationQuery

- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/Snapshot.swift#L289
- **Page:** https://libtmux.org/reference/swift/relationquery/

A quantified filter over a relation, as one value.

Pairing the quantifier with the expression is what lets a relation filter
travel: "sessions where *some* pane runs nvim" is a single `Codable` thing a
client can send, rather than two arguments a boundary has to reassemble.

## Members

- `!=(_:_:)` (function) — Returns a Boolean value indicating whether two values are not equal.
- `quantifier` (property) — How many of the related objects have to match for the owner to be selected.
- `expression` (property) — What each related object is tested against.
- `init(_:_:)` (method)
- `init(from:)` (method) — Creates a new instance by decoding from the given decoder.
