MCPcopy Create free account
hub / github.com/microsoft/typescript-go / isASCIIWordCharacter

Function isASCIIWordCharacter

internal/printer/utilities.go:687–689  ·  view source on GitHub ↗
(ch rune)

Source from the content-addressed store, hash-verified

685}
686
687func isASCIIWordCharacter(ch rune) bool {
688 return stringutil.IsASCIILetter(ch) || stringutil.IsDigit(ch) || ch == '_'
689}
690
691func makeIdentifierFromModuleName(moduleName string) string {
692 moduleName = tspath.GetBaseFileName(moduleName)

Callers 1

Calls 2

IsASCIILetterFunction · 0.92
IsDigitFunction · 0.92

Tested by

no test coverage detected