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

OneRelation

How criteria apply to a single related object, which may be absent.

Source and package
Qualified name
OneRelation
Module
selection
Package
libtmux
Source
packages/libtmux/src/selection.ts
type selection.OneRelation<Where> = | { readonly is: Where | null; readonly isNot?: Where | null } | { readonly is?: Where | null; readonly isNot: Where | null }

Description#

null matches the absence itself — a pane whose window is no longer in the snapshot — rather than matching anything.

Type parameters
Esc

Type to search.

Reference previewOpen reference