badger/internal/tools/arrays.go
2023-03-14 09:53:33 +01:00

11 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
}