Core LibraryunreleasedAPI Reference

Choose documentation 1

latest

Current version

latest
English

Unreleased libtmux_erlang has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-erlang latest

tmux_filter:predicate/1

Return a Boolean function bound to the prepared observation context.

Source and package
Qualified name
tmux_filter:predicate/1
Declared in
tmux_filter
Package
libtmux_erlang
Source
apps/libtmux_erlang/src/tmux_filter.erl
predicate(Prepared) -spec predicate(prepared()) -> fun((tmux_model:row()) -> boolean()).

Description#

Rows outside that context raise {prepared_context_mismatch, Detail}. Regex evaluation errors raise {filter_evaluation_failed, Detail}. Use matches/2 for tagged errors. This does not run callbacks.

Parameters
Esc

Type to search.

Reference previewOpen reference