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

ManyRelation

How criteria apply to a collection: to any of it, all of it, or none.

Source and package
Qualified name
ManyRelation
Module
selection
Package
libtmux
Source
packages/libtmux/src/selection.ts
type selection.ManyRelation<Where> = | { readonly every?: Where; readonly none?: Where; readonly some: Where } | { readonly every: Where; readonly none?: Where; readonly some?: Where } | { readonly every?: Where; readonly none: Where; readonly some?: Where }

Description#

At least one of the three must be given. every and none both hold vacuously for an empty collection, which is set theory rather than a bug, and some is what a caller usually wants instead.

Type parameters
Esc

Type to search.

Reference previewOpen reference