Verifying existence

Checks whether the slice exists or not.


s := []int{10, 20, 30}

found := slices.Contains(s, 20)
                        
introduction.go