aboutsummaryrefslogtreecommitdiff
path: root/helpers.go
blob: fa38641fe15a20cf42afc8f43f651b8146768e0f (plain)
1
2
3
4
5
6
7
8
9
10
package main

func listContains(list []string, target string) bool {
    for _, item := range list {
        if item == target {
            return true
        }
    }
    return false
}