summaryrefslogblamecommitdiffstats
path: root/vendor/github.com/mrexodia/wray/utils.go
blob: c587f7c622e168279d284708757c120be11cc2f6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10








                                                   
package wray

func contains(target string, slice []string) bool {
  for _, t := range(slice) {
    if t == target {
      return true
    }
  }
  return false
}