MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / isWS

Function isWS

src/cli/components/editor-logic.ts:8–8  ·  view source on GitHub ↗
(ch: string)

Source from the content-addressed store, hash-verified

6 */
7
8const isWS = (ch: string): boolean => ch === ' ' || ch === '\t' || ch === '\n';
9
10/** Index after jumping one word LEFT from `cursor` (skip whitespace, then word). */
11export function wordLeft(text: string, cursor: number): number {

Callers 2

wordLeftFunction · 0.85
wordRightFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected