Documentation ¶
Index ¶
- func Add[T any](s *[]T, a T)
- func AddAtEnd(slicePtr any, add any) int
- func AddEmptyElementAtEnd(slicePtr any) int
- func AddToSet[T comparable](s *[]T, a T)
- func Behead(slice any)
- func CheckIsSlicePtr(s any) error
- func CopyTo(to, slice any)
- func DeleteFromFunc[S any](s *[]S, del func(s S) bool)
- func Empty(slicePtr any)
- func IndexOf(length int, is func(i int) bool) int
- func MakeAnElementOfSliceRValType(rval reflect.Value) reflect.Value
- func MakeAnElementOfSliceType(slice any) any
- func Random[S any](slice []S) (S, int)
- func Reduced[A any](slice []A, keep func(a A) bool) []A
- func RemoveAt(slice any, index int) error
- func Reverse(s any)
- func SetsOverlap[S comparable](a, b []S) bool
- func Swap[A any](slice []A, i, j int)
- func Union[T comparable](a, b []T) []T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddEmptyElementAtEnd ¶
func AddToSet ¶
func AddToSet[T comparable](s *[]T, a T)
func CheckIsSlicePtr ¶
func DeleteFromFunc ¶
func SetsOverlap ¶
func SetsOverlap[S comparable](a, b []S) bool
func Union ¶
func Union[T comparable](a, b []T) []T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.