func slices.Contains

12 uses

	slices (current package)
		slices.go#L117: func Contains[S ~[]E, E comparable](s S, v E) bool {

	crypto/tls
		common.go#L1118: 			return !slices.Contains(defaultCipherSuitesFIPS, id)
		common.go#L1141: 		if fips140tls.Required() && !slices.Contains(defaultSupportedVersionsFIPS, v) {
		common.go#L1194: 			return !slices.Contains(c.CurvePreferences, x)
		handshake_client.go#L183: 			if slices.Contains(hello.supportedCurves, X25519) {
		handshake_client_tls13.go#L311: 		if !slices.Contains(hello.supportedCurves, curveID) {
		handshake_server_tls13.go#L209: 		return !slices.Contains(hs.clientHello.supportedCurves, group)

	go/types
		decl.go#L513: 		if !slices.Contains(lhs, obj) {
		infer.go#L42: 			assert(inferred == nil || len(inferred) == len(tparams) && !slices.Contains(inferred, nil))
		infer.go#L61: 	if len(targs) == n && !slices.Contains(targs, nil) {
		labels.go#L113: 		return varDeclPos.IsValid() && slices.Contains(badJumps, jmp)

	net/http
		server.go#L3377: 	return slices.Contains(s.TLSConfig.NextProtos, http2NextProtoTLS)