MCPcopy Create free account
hub / github.com/codeaashu/claude-code / isWord

Function isWord

src/utils/ultraplan/keyword.ts:56–56  ·  view source on GitHub ↗
(ch: string | undefined)

Source from the content-addressed store, hash-verified

54 let openQuote: string | null = null
55 let openAt = 0
56 const isWord = (ch: string | undefined) => !!ch && /[\p{L}\p{N}_]/u.test(ch)
57 for (let i = 0; i < text.length; i++) {
58 const ch = text[i]!
59 if (openQuote) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected