Filter.new/3
Normalizes criteria and validates field/operator/value domains before evaluation.
Source and package
- Qualified name
-
LibTmux .Filter .new/3 - Module
- LibTmux
- Declared in
- Filter
- Package
- libtmux
- Source
- lib/libtmux/filter.ex
- new(entity, criteria, options \\ []) @spec new(Lib
Tmux (), input(), [ limit.Schema .entity _selector _option () ]) :: {:ok, t()} | {:error, LibTmux ()}.Error .t -
Description#
An existing filter retains its constructor's validation when no new limits are supplied. Explicit limits check the normalized tree directly, without expanding it into synthetic input syntax.
See the worked example.
- Parameters
-
-
options([limit_option ()]) #
Discussed in Filter captured values