# LibTmux::Selection::Selection

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** trait
- **Source:** https://github.com/libtmux/libtmux-raku/blob/e76160bcce6e03976d49424da15b7c31afb2c68e/lib/LibTmux/Selection.rakumod#L8
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-selection-selection/

Eager captured membership; transformations perform no acquisition or commands.

Eager captured membership; transformations perform no acquisition or commands.

## Members

### Other members

- [`all`](/en/raku/latest/reference/libtmux-selection-selection-all/) (method): Construct the native all junction over captured membership.
- [`any`](/en/raku/latest/reference/libtmux-selection-selection-any/) (method): Construct the native any junction over captured membership.
- [`Array`](/en/raku/latest/reference/libtmux-selection-selection-array/) (method): Materialize an independent mutable membership array; contained views remain shared.
- [`AT-POS`](/en/raku/latest/reference/libtmux-selection-selection-at-pos/) (method): Delegate positional lookup to captured membership with native Raku indexing behavior.
- [`Bool`](/en/raku/latest/reference/libtmux-selection-selection-bool/) (method): True when captured membership is nonempty.
- [`clone`](/en/raku/latest/reference/libtmux-selection-selection-clone/) (method): Revalidate and copy membership when cloning a concrete selection.
- [`elems`](/en/raku/latest/reference/libtmux-selection-selection-elems/) (method): Return the exact captured membership count.
- [`entity`](/en/raku/latest/reference/libtmux-selection-selection-entity/) (method): Entity schema retained even by an empty selection.
- [`EXISTS-POS`](/en/raku/latest/reference/libtmux-selection-selection-exists-pos/) (method): Check an index locally without acquiring or refreshing data.
- [`filter`](/en/raku/latest/reference/libtmux-selection-selection-filter/) (method): Run a callback once per member in order and preserve this concrete selection type.
- [`first`](/en/raku/latest/reference/libtmux-selection-selection-first/) (method): Use native first-match behavior, including native absence semantics.
- [`grep`](/en/raku/latest/reference/libtmux-selection-selection-grep/) (method): Use native matching and adverbs, returning a Seq rather than another selection.
- [`iterator`](/en/raku/latest/reference/libtmux-selection-selection-iterator/) (method): Return a fresh iterator over captured eager membership.
- [`list`](/en/raku/latest/reference/libtmux-selection-selection-list-1iqf/) (method): Return eager replayable membership with native list semantics.
- [`List`](/en/raku/latest/reference/libtmux-selection-selection-list-q6ut/) (method): Return captured membership without writable element containers.
- [`map`](/en/raku/latest/reference/libtmux-selection-selection-map/) (method): Use native mapping; projections may change element type.
- [`none`](/en/raku/latest/reference/libtmux-selection-selection-none/) (method): Construct the native none junction over captured membership.
- [`one`](/en/raku/latest/reference/libtmux-selection-selection-one/) (method): Construct the native one junction; this is not exact-cardinality retrieval.
- [`Seq`](/en/raku/latest/reference/libtmux-selection-selection-seq/) (method): Return a fresh native sequence over captured membership.
- [`single`](/en/raku/latest/reference/libtmux-selection-selection-single/) (method): Return exactly one member or throw its observed cardinality.
- [`single-or-nil`](/en/raku/latest/reference/libtmux-selection-selection-single-or-nil/) (method): Return Nil for zero members, the sole member for one, otherwise throw.
- [`sort`](/en/raku/latest/reference/libtmux-selection-selection-sort/) (method): Use native sorting and return its ordinary Raku result.
- [`where`](/en/raku/latest/reference/libtmux-selection-selection-where/) (method): Compile criteria before traversal, including on an empty selection.
