Core Library0.xAPI Reference

Choose documentation 3

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.

method libtmux-go latest

SparseArray.Get

Get returns the value at index and reports whether it is present. A missing index, including a sparse hole, returns the zero value and false.

Source and package
Qualified name
tmux.SparseArray.Get
Package
tmux
Declared in
SparseArray
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/sparse_array.go
func (a SparseArray[T]) Get(index int) (T, bool)
Type parameters
Parameters
Esc

Type to search.

Reference previewOpen reference