libtmux Reference MCP Search
On this page

tmux.NewSparseArray

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/sparse_array.go
NewSparseArray ( entries : SparseEntry[T] ) (SparseArray[T], error)
function [source]
function [source]
NewSparseArray

NewSparseArray builds an array from entries, sorting them by index. It returns errors matching ErrInvalidSparseIndex or ErrDuplicateSparseIndex for negative, overflowing, or duplicate indices.

0 declared, 0 inherited

Esc

Type to search.