MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / isWhitespace

Function isWhitespace

packages/core/src/widgets/codeEditorSyntax.ts:801–803  ·  view source on GitHub ↗
(ch: string)

Source from the content-addressed store, hash-verified

799}
800
801function isWhitespace(ch: string): boolean {
802 return ch === " " || ch === "\t";
803}
804
805function isWordStart(ch: string): boolean {
806 return (ch >= "a" && ch <= "z") || (ch >= "A" && ch <= "Z") || ch === "_" || ch === "$";

Callers 3

consumeWhitespaceFunction · 0.70
classifyWordFunction · 0.70
tokenizeLineWithGrammarFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected