MCPcopy 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
83func IsASCIILetter(ch rune) bool {
84 return ch >= 'A' && ch <= 'Z' || ch >= 'a' && ch <= 'z'
85}
86
87func ContainsNonASCII(s string) bool {
88 for i := range len(s) {

Callers 7

isASCIIWordCharacterFunction · 0.92
scanIdentifierMethod · 0.92
isWordCharacterFunction · 0.92
IsIdentifierStartFunction · 0.92
scanCharacterEscapeMethod · 0.92
parseFileContentFunction · 0.92
tryParseBase64UrlFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected