Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

typealias libtmux-ts latest

ScalarCriteria

One field's criteria: a value to equal, or a filter describing how to compare.

Source and package
Qualified name
ScalarCriteria
Module
selection
Package
libtmux
Source
packages/libtmux/src/selection.ts
type selection.ScalarCriteria<Value = never, Raw extends string = string> = | Value | Raw | null | StringFilter<Value, Raw>

Description#

The bare value is shorthand for { equals: value }, and null matches a field tmux reports as unset rather than empty.

Type parameters
Esc

Type to search.

Reference previewOpen reference