func slices.Contains

9 uses

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

	crypto/tls
		common.go#L1068: 			return !slices.Contains(defaultCipherSuitesFIPS, id)
		common.go#L1091: 		if needFIPS() && !slices.Contains(defaultSupportedVersionsFIPS, v) {
		common.go#L1141: 				return !slices.Contains(defaultCurvePreferencesFIPS, c)
		handshake_client_tls13.go#L317: 		if !slices.Contains(hello.supportedCurves, curveID) {
		handshake_server_tls13.go#L194: 			if !slices.Contains(hs.clientHello.supportedCurves, selectedGroup) {
		handshake_server_tls13.go#L203: 			if slices.Contains(hs.clientHello.supportedCurves, preferredGroup) {

	net/http
		server.go#L3283: 	return slices.Contains(srv.TLSConfig.NextProtos, http2NextProtoTLS)
		server.go#L3386: 	if !slices.Contains(config.NextProtos, "http/1.1") {