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

Function isWordCharacter

src/Strings.ts:236–238  ·  view source on GitHub ↗
(codePoint: number)

Source from the content-addressed store, hash-verified

234}
235
236export function isWordCharacter(codePoint: number): boolean {
237 return isLetter(codePoint) || isDigit(codePoint);
238}
239
240function modifyFirstChar(f: (c: string) => string, s: string): string {
241 if (s === "") return s;

Callers 1

Strings.tsFile · 0.85

Calls 2

isLetterFunction · 0.85
isDigitFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…