MCPcopy Index your code
hub / github.com/codeaashu/claude-code / graphemeAt

Function graphemeAt

src/vim/textObjects.ts:84–84  ·  view source on GitHub ↗
(idx: number)

Source from the content-addressed store, hash-verified

82 }
83
84 const graphemeAt = (idx: number): string => graphemes[idx]?.segment ?? ''
85 const offsetAt = (idx: number): number =>
86 idx < graphemes.length ? graphemes[idx]!.index : text.length
87 const isWs = (idx: number): boolean => isVimWhitespace(graphemeAt(idx))

Callers 3

isWsFunction · 0.85
isWordFunction · 0.85
isPunctFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected