MCPcopy 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
71func IsDigit(ch rune) bool {
72 return ch >= '0' && ch <= '9'
73}
74
75func IsOctalDigit(ch rune) bool {
76 return ch >= '0' && ch <= '7'

Callers 15

escapeStringWorkerFunction · 0.92
isASCIIWordCharacterFunction · 0.92
decodeEntityFunction · 0.92
FromStringFunction · 0.92
isAllDigitsFunction · 0.92
isNumberRuneFunction · 0.92
ScanMethod · 0.92
scanEscapeSequenceMethod · 0.92
scanDigitsMethod · 0.92
isWordCharacterFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected