kubernetes/vendor/sigs.k8s.io/kustomize/kyaml/sliceutil/slice.go

// Contains return true if string e is present in slice s
func Contains(s []string, e string) bool {}

// Remove removes the first occurrence of r in slice s
// and returns remaining slice
func Remove(s []string, r string) []string {}