selection.Selection.map
TypeScript
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- selection
- Declared in
- Selection
- Package
- libtmux
- Source
- packages/libtmux/src/selection.ts
-
Apply
transformto each member, in order.Returns an array rather than a Selection: the results are no longer tmux objects, so they carry no identity to filter, count, or traverse from.
Examples
snapshot.windows.map((entry) => entry.name); // string[]
0 declared, 0 inherited