3
0
mirror of https://github.com/42wim/matterbridge.git synced 2025-01-04 17:42:39 +01:00
matterbridge/vendor/github.com/mrexodia/wray/utils.go

11 lines
161 B
Go
Raw Normal View History

2016-09-04 20:03:07 +02:00
package wray
func contains(target string, slice []string) bool {
for _, t := range(slice) {
if t == target {
return true
}
}
return false
}