Core Library0.xAPI reference

Choose documentation 1

pr-173

Current version

pr-173
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

function libtmux-elixir

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.

Recorded calls

source calls
No call edges in the Elixir model.

The Elixir reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Filter.new/3.

Guides

task material

Pages that discuss new/3.

Esc
Search in

Type to search.

Reference previewOpen reference