MCPcopy 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
397func 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

resolveProjectFunction · 0.85
TestIsAllDigitsFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestIsAllDigitsFunction · 0.68