Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/auth0/auth0-cli
/ strInArray
Function
strInArray
internal/auth/scopes_test.go:53–61 ·
view source on GitHub ↗
(haystack []string, needle string)
Source
from the content-addressed store, hash-verified
51
}
52
53
func
strInArray(haystack []string, needle string) bool {
54
for
_, v :=
range
haystack {
55
if
v == needle {
56
return
true
57
}
58
}
59
60
return
false
61
}
Callers
1
TestRequiredScopes
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected