StringFilter
A text comparison, of which exactly one form must be given.
Source and package
- Qualified name
-
StringFilter - Module
- selection
- Package
- libtmux
- Source
- packages/libtmux/src/selection.ts
- type selection.StringFilter<Value = never, Raw extends string = string> = String
Filter <Value, Raw> & ( | { readonly contains: string } | { readonly endsWith: string } | { readonly equals: Value | Raw | null } | { readonly in: readonly (Value | Raw)[] } | { readonly notIn: readonly (Value | Raw)[] } | { readonly regex: RegexFields Criteria } | { readonly startsWith: string } )Data -
Description#
Written as a union so the type rejects
{}— criteria that constrain nothing would match everything, which is never what a caller meant.