Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/typescript-go
/ IsDigit
Function
IsDigit
internal/stringutil/util.go:71–73 ·
view source on GitHub ↗
(ch rune)
Source
from the content-addressed store, hash-verified
69
}
70
71
func
IsDigit(ch rune) bool {
72
return
ch >=
'0'
&& ch <=
'9'
73
}
74
75
func
IsOctalDigit(ch rune) bool {
76
return
ch >=
'0'
&& ch <=
'7'
Callers
15
escapeStringWorker
Function · 0.92
isASCIIWordCharacter
Function · 0.92
makeIdentifierFromModuleName
Function · 0.92
decodeEntity
Function · 0.92
FromString
Function · 0.92
isAllDigits
Function · 0.92
isNumberRune
Function · 0.92
Scan
Method · 0.92
scanEscapeSequence
Method · 0.92
scanDigits
Method · 0.92
scanBinaryOrOctalDigits
Method · 0.92
isWordCharacter
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected