MCPcopy Index your code
hub / github.com/cloudfoundry/cli / contains

Function contains

command/v7/login_command.go:602–609  ·  view source on GitHub ↗
(s []string, v string)

Source from the content-addressed store, hash-verified

600}
601
602func contains(s []string, v string) bool {
603 for _, x := range s {
604 if x == v {
605 return true
606 }
607 }
608 return false
609}

Callers 1

promptMenuMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected