On this page
tmux.SparseArray.With
- Module
- tmux
- Declared in
- SparseArray
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/sparse_array.go
- With ( index : int , value : T ) (SparseArray[T], error)
-
With returns a copy with value inserted or replaced at index. It leaves the receiver unchanged and returns an error matching
ErrInvalidSparseIndexfor a negative index.
0 declared, 0 inherited