mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-16 00:49:26 +01:00
11 lines
161 B
Go
11 lines
161 B
Go
|
package wray
|
||
|
|
||
|
func contains(target string, slice []string) bool {
|
||
|
for _, t := range(slice) {
|
||
|
if t == target {
|
||
|
return true
|
||
|
}
|
||
|
}
|
||
|
return false
|
||
|
}
|