MCPcopy Create free account
hub / github.com/ettle/strcase / isNumber

Function isNumber

unicode.go:16–21  ·  view source on GitHub ↗
(r rune)

Source from the content-addressed store, hash-verified

14}
15
16func isNumber(r rune) bool {
17 if r >= '0' && r <= '9' {
18 return true
19 }
20 return unicode.IsNumber(r)
21}
22
23func isSpace(r rune) bool {
24 if r == ' ' || r == '\t' || r == '\n' || r == '\r' {

Callers 2

TestIsUnicodeTypeFunction · 0.85
NewSplitFnFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestIsUnicodeTypeFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…