Core Library0.xAPI Reference

Choose documentation 1

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.

trait libtmux-raku latest

Selection.Selection

Eager captured membership; transformations perform no acquisition or commands.

Source and package
Qualified name
LibTmux::Selection::Selection
Module
LibTmux
Declared in
Selection
Package
LibTmux
Source
lib/LibTmux/Selection.rakumod
Anonymous trait

Description#

Eager captured membership; transformations perform no acquisition or commands.

Members23#

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

Type to search.

Reference previewOpen reference