Documentation ¶
Index ¶
- func Contains[T any](s []T, cmp func(T) bool) bool
- func Diff[T cmp.Ordered](oldSlice, newSlice []T) (added, removed, kept []T)
- func DiffFunc[T any](oldSlice, newSlice []T, cmp func(a, b T) int) (added, removed, kept []T)
- func Filter[T any](s []T, cmp func(T) bool) []T
- func Map[T any](s []T, cb func(T) T) []T
- func Shuffle[T any](s []T)
- func String[T any](s []T) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.