MCPcopy Create free account
hub / github.com/apache/openwhisk-cli / contains

Function contains

commands/util.go:1179–1186  ·  view source on GitHub ↗
(arr []string, element string)

Source from the content-addressed store, hash-verified

1177}
1178
1179func contains(arr []string, element string) bool {
1180 for _, e := range arr {
1181 if e == element {
1182 return true
1183 }
1184 }
1185 return false
1186}
1187
1188func ExitOnError(err error) {
1189 if err == nil {

Callers 1

generatePathParametersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected