Core LibraryalphaAPI Reference

Choose documentation 1

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

function libtmux-elixir latest

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(LibTmux.Schema.entity_selector(), input(), [ limit_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.

Discussed in Filter captured values

Esc

Type to search.

Reference preview Open reference