# Libtmux.Expr.view

- **Module:** Libtmux
- **Package:** libtmux
- **Language:** OCaml
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/lib/libtmux.mli#L645
- **Public owner:** Libtmux
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux-expr-view-type/

```
type 'a view =
  | Compare: ('a, 'v) Field.t * 'v comparison -> 'a view 
  | All of 'a t list 
  | Any of 'a t list 
  | Not of 'a t 
  | Related_any: ('a, 'b) Relation.Many.t * 'b t -> 'a view 
  | Related_all: ('a, 'b) Relation.Many.t * 'b t -> 'a view 
  | Related_none: ('a, 'b) Relation.Many.t * 'b t -> 'a view 
  | Related_one: ('a, 'b) Relation.One.t * 'b t -> 'a view 
  | Related_optional: ('a, 'b) Relation.Optional.t * 'b t -> 'a view 
  | Absent: ('a, 'b) Relation.Optional.t -> 'a view 
```

## Members

### Other members

- [`Absent`](/en/ocaml/latest/reference/libtmux-expr-view-type-absent/) (constant)
- [`All`](/en/ocaml/latest/reference/libtmux-expr-view-type-all/) (constant)
- [`Any`](/en/ocaml/latest/reference/libtmux-expr-view-type-any/) (constant)
- [`Compare`](/en/ocaml/latest/reference/libtmux-expr-view-type-compare/) (constant)
- [`Not`](/en/ocaml/latest/reference/libtmux-expr-view-type-not/) (constant)
- [`Related_all`](/en/ocaml/latest/reference/libtmux-expr-view-type-related_all/) (constant)
- [`Related_any`](/en/ocaml/latest/reference/libtmux-expr-view-type-related_any/) (constant)
- [`Related_none`](/en/ocaml/latest/reference/libtmux-expr-view-type-related_none/) (constant)
- [`Related_one`](/en/ocaml/latest/reference/libtmux-expr-view-type-related_one/) (constant)
- [`Related_optional`](/en/ocaml/latest/reference/libtmux-expr-view-type-related_optional/) (constant)
