12 lines
183 B
Go
12 lines
183 B
Go
|
package tools
|
||
|
|
||
|
// exported function(s)
|
||
|
func ContainsString(array []string, value string) bool {
|
||
|
for _, tmp := range array {
|
||
|
if tmp == value {
|
||
|
return true
|
||
|
}
|
||
|
}
|
||
|
return false
|
||
|
}
|