MCPcopy Create free account
hub / github.com/github/gh-aw / containsAny

Function containsAny

pkg/cli/audit_agentic_analysis.go:497–504  ·  view source on GitHub ↗
(value string, terms ...string)

Source from the content-addressed store, hash-verified

495}
496
497func containsAny(value string, terms ...string) bool {
498 for _, term := range terms {
499 if strings.Contains(value, term) {
500 return true
501 }
502 }
503 return false
504}
505
506func prettifyAssessmentKind(kind string) string {
507 switch kind {

Callers 1

detectTaskDomainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected