1
0
Fork 0
mirror of https://github.com/Luzifer/mondash.git synced 2024-11-10 00:20:02 +00:00
mondash/strings.go

11 lines
143 B
Go
Raw Normal View History

2015-02-07 18:32:44 +00:00
package main
func stringInSlice(a string, list []string) bool {
for _, b := range list {
if b == a {
return true
}
}
return false
}