Includes¶
func Includes[T comparable](slice []T, value T) bool
Includes receives a slice of type T and a value of type T, determining whether or not the value is included in the slice.
Deprecated: prefer slices.Contains(slice, value) from the standard library.