On this page
selection.Selection.filter
- Module
- selection
- Declared in
- Selection
- Package
- @libtmux/libtmux
- Source
- packages/libtmux/src/selection.ts
-
Keep the members
predicateaccepts.For a question that has to run code. When the question can be expressed as criteria,
wheresays the same thing as data — which can be logged, sent to another process, or stored.Examples
snapshot.panes.filter((entry) => entry.currentCommand?.startsWith("v") === true);Discussed in Filtering and queries
0 declared, 0 inherited