MCPcopy Create free account
hub / github.com/glideapps/quicktype / isStartCharacter

Function isStartCharacter

src/Language/Java.ts:138–141  ·  view source on GitHub ↗
(codePoint: number)

Source from the content-addressed store, hash-verified

136export const stringEscape = utf16ConcatMap(escapeNonPrintableMapper(isAscii, standardUnicodeHexEscape));
137
138function isStartCharacter(codePoint: number): boolean {
139 if (codePoint === 0x5f) return true; // underscore
140 return isAscii(codePoint) && isLetter(codePoint);
141}
142
143function isPartCharacter(codePoint: number): boolean {
144 return isStartCharacter(codePoint) || (isAscii(codePoint) && isDigit(codePoint));

Callers 2

isPartCharacterFunction · 0.70
combineWordsFunction · 0.50

Calls 2

isAsciiFunction · 0.90
isLetterFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…