# Base.getindex

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Julia
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/projection.jl#L12
- **Page:** https://libtmux.org/en/julia/latest/reference/libtmux-base-getindex/

```
getindex(rows::LibTmux.RowProjection{R}, index::Int64) where R

getindex(xs::LibTmux.Selection, i::Int64)

getindex(result::LibTmux._FiniteCommandResult, index::Int64)
```

## Methods

### `getindex(rows::LibTmux.RowProjection{R}, index::Int64) where R`

[Source](https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/projection.jl#L12).

### `getindex(xs::LibTmux.Selection, i::Int64)`

[Source](https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/model.jl#L190).

### `getindex(result::LibTmux._FiniteCommandResult, index::Int64)`

[Source](https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/batches.jl#L63).

## Parameters

- `rows` (`LibTmux.RowProjection{R}`) (for `Base.getindex(rows, index)`)
- `index` (`Int64`) (for `Base.getindex(rows, index)`; `Base.getindex(result, index)`)
- `xs` (`LibTmux.Selection`) (for `Base.getindex(xs, i)`)
- `i` (`Int64`) (for `Base.getindex(xs, i)`)
- `result` (`LibTmux._FiniteCommandResult`) (for `Base.getindex(result, index)`)
