// Exist determines if a patch path exists in a slice of PatchStrategicMerge
Exist determines if a patch path exists in a slice of PatchStrategicMerge
// Exist determines if a patch path exists in a slice of PatchStrategicMerge
func Exist(patches []types.PatchStrategicMerge, path string) bool {
	for _, p := range patches {
		if p == types.PatchStrategicMerge(path) {
			return true
		}
	}
	return false
}
func Exist ( patches [ ] types . PatchStrategicMerge , path string ) bool { for _ , p := range patches { if p == types . PatchStrategicMerge ( path ) { return true } } return false }
Exist determines if a patch path exists in a slice of PatchStrategicMerge
Exist determines if a patch path exists in a slice of PatchStrategicMerge