Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cli/cli
/ isIncluded
Function
isIncluded
pkg/cmdutil/flags.go:175–182 ·
view source on GitHub ↗
(value string, opts []string)
Source
from the content-addressed store, hash-verified
173
}
174
175
func
isIncluded(value string, opts []string) bool {
176
for
_, opt :=
range
opts {
177
if
strings.EqualFold(opt, value) {
178
return
true
179
}
180
}
181
return
false
182
}
Callers
2
Set
Method · 0.70
Set
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected