kubernetes/staging/src/k8s.io/kubectl/pkg/util/slice/slice.go

// SortInts64 sorts []int64 in increasing order
func SortInts64(a []int64) {}

// ContainsString checks if a given slice of strings contains the provided string.
// If a modifier func is provided, it is called with the slice item before the comparation.
func ContainsString(slice []string, s string, modifier func(s string) string) bool {}

// ToSet returns a single slice containing the unique values from one or more slices. The order of the items in the
// result is not guaranteed.
func ToSet[T comparable](slices ...[]T) []T {}