Documentation
¶
Index ¶
- func AsInterface(this []int) []interface{}
- func Contain(arr []int, item int) bool
- func Find(arr []int, fn IntArrSearchFunc) int
- func FindIndex(arr []int, fn IntArrSearchFunc) int
- func ForEach(arr []int, fn IntArrForEachFunc)
- func Join(arr []int, sep string) string
- func Map(arr []int, fn IntArrMapFunc)
- func Sort(arr []int, comparer ...ArrSortCompareFunc)
- func String(this []int) string
- type TIntSlice
- func (iar *TIntSlice) Append(item ...int) int
- func (iar *TIntSlice) Clear()
- func (iar *TIntSlice) Concat(arrs ...[]int) int
- func (iar TIntSlice) Contain(item int) bool
- func (iar *TIntSlice) Delete(index int) error
- func (iar TIntSlice) Find(fn IntArrSearchFunc) int
- func (iar TIntSlice) FindIndex(fn IntArrSearchFunc) int
- func (iar TIntSlice) ForEach(fn IntArrForEachFunc)
- func (iar *TIntSlice) Insert(index int, item int) error
- func (iar TIntSlice) Join(sep string) string
- func (iar *TIntSlice) Prepend(item ...int) int
- func (iar TIntSlice) Size() int
- func (iar TIntSlice) Sort(comparer ...ArrSortCompareFunc)
- func (iar TIntSlice) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsInterface ¶
func AsInterface(this []int) []interface{}
Types ¶
Click to show internal directories.
Click to hide internal directories.