MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / isDigits

Method isDigits

api/pkg/requests/request.go:148–155  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

146}
147
148func (input *request) isDigits(value string) bool {
149 for _, c := range value {
150 if !unicode.IsDigit(c) {
151 return false
152 }
153 }
154 return true
155}

Callers 2

sanitizeAddressMethod · 0.95
sanitizeContactMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected