# tmux.WindowRel

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/filter_generated.go#L279
- **Page:** https://libtmux.org/reference/go/tmux-windowrel/

WindowRel applies quantifiers to a materialized [Window] relation; its zero value is invalid. Some is existential, Every is universal and vacuously true for an empty relation, and None excludes; enabled quantifiers are conjunctive.

## Members

- `Some` (attribute) — Some requires an existential match: at least one related value must match.
- `Every` (attribute) — Every requires a universal match and is vacuously true for an empty relation.
- `None` (attribute) — None excludes the candidate when any related value matches.
- `MarshalJSON` (method) — MarshalJSON validates and encodes the window relation; failures wrap [ErrInvalidFilter].
- `UnmarshalJSON` (method) — UnmarshalJSON clears the receiver, strictly decodes a window relation, then validates it. Unknown or duplicate fields, trailing data, and semantic failures wrap [ErrInvalidFilter]; the receiver may retain decoded state on error.
