Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

tmux.NewSparseArray

Go
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

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.