MCPcopy Index your code
hub / github.com/aiprodcoder/MIXAPI / StringsContains

Function StringsContains

common/str.go:71–78  ·  view source on GitHub ↗
(strs []string, str string)

Source from the content-addressed store, hash-verified

69}
70
71func StringsContains(strs []string, str string) bool {
72 for _, s := range strs {
73 if s == str {
74 return true
75 }
76 }
77 return false
78}
79
80// StringToByteSlice []byte only read, panic on append
81func StringToByteSlice(s string) []byte {

Callers 2

GetUserModelsFunction · 0.92
updatePricingFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected