Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/typescript-go
/ IsASCIILetter
Function
IsASCIILetter
internal/stringutil/util.go:83–85 ·
view source on GitHub ↗
(ch rune)
Source
from the content-addressed store, hash-verified
81
}
82
83
func
IsASCIILetter(ch rune) bool {
84
return
ch >=
'A'
&& ch <=
'Z'
|| ch >=
'a'
&& ch <=
'z'
85
}
86
87
func
ContainsNonASCII(s string) bool {
88
for
i :=
range
len(s) {
Callers
7
isASCIIWordCharacter
Function · 0.92
scanIdentifier
Method · 0.92
isWordCharacter
Function · 0.92
IsIdentifierStart
Function · 0.92
scanCharacterEscape
Method · 0.92
parseFileContent
Function · 0.92
tryParseBase64Url
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected