Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/buggregator/server
/ isAllDigits
Function
isAllDigits
modules/sentry/handler.go:397–407 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
395
}
396
397
func
isAllDigits(s string) bool {
398
if
s ==
""
{
399
return
false
400
}
401
for
_, r :=
range
s {
402
if
r <
'0'
|| r >
'9'
{
403
return
false
404
}
405
}
406
return
true
407
}
Callers
2
resolveProject
Function · 0.85
TestIsAllDigits
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestIsAllDigits
Function · 0.68