# Libtmux.Expr

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

```ocaml
module Expr
```

Inspectable predicates whose entity and operand types are checked by the compiler. Combine native closures separately with `Seq.filter`. Evaluation follows captured relationships without acquisition or hidden caches.

## Members

### Common operations

- [`compile`](/en/ocaml/latest/reference/libtmux-expr-compile/) (function): Prepare a reusable predicate. Compilation and evaluation perform no I/O.

### Other members

- [`all`](/en/ocaml/latest/reference/libtmux-expr-all/) (function): Boolean conjunction; the empty conjunction is true.
- [`any`](/en/ocaml/latest/reference/libtmux-expr-any/) (function): Boolean disjunction; the empty disjunction is false.
- [`Bool`](/en/ocaml/latest/reference/libtmux-expr-bool/) (module)
- [`comparison`](/en/ocaml/latest/reference/libtmux-expr-comparison/) (enum)
- [`describe`](/en/ocaml/latest/reference/libtmux-expr-describe/) (function)
- [`Int`](/en/ocaml/latest/reference/libtmux-expr-int/) (module)
- [`not_`](/en/ocaml/latest/reference/libtmux-expr-not_/) (function)
- [`pp`](/en/ocaml/latest/reference/libtmux-expr-pp/) (function)
- [`Rel`](/en/ocaml/latest/reference/libtmux-expr-rel/) (module)
- [`t`](/en/ocaml/latest/reference/libtmux-expr-t/) (typealias)
- [`Text`](/en/ocaml/latest/reference/libtmux-expr-text/) (module)
- [`view`](/en/ocaml/latest/reference/libtmux-expr-view/) (function): Typed read-only inspection for codecs and planners. A view cannot add custom accessors or closures to an expression.
- [`view`](/en/ocaml/latest/reference/libtmux-expr-view-type/) (enum)
