MCPcopy
hub / github.com/google/uuid / contains

Function contains

version6_test.go:81–91  ·  view source on GitHub ↗
(t *testing.T, arr []string, str string)

Source from the content-addressed store, hash-verified

79}
80
81func contains(t *testing.T, arr []string, str string) bool {
82 t.Helper()
83
84 for _, a := range arr {
85 if a == str {
86 return true
87 }
88 }
89
90 return false
91}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected