github.com/prebid/prebid-server/v2@v2.18.0/util/sliceutil/containstring.go (about) 1 package sliceutil 2 3 import ( 4 "strings" 5 ) 6 7 func ContainsStringIgnoreCase(s []string, v string) bool { 8 for _, i := range s { 9 if strings.EqualFold(i, v) { 10 return true 11 } 12 } 13 return false 14 }