MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / isWhitespaceChar

Function isWhitespaceChar

packages/pi-tui/src/utils.ts:831–833  ·  view source on GitHub ↗
(char: string)

Source from the content-addressed store, hash-verified

829 * Check if a character is whitespace.
830 */
831export function isWhitespaceChar(char: string): boolean {
832 return /\s/.test(char);
833}
834
835/**
836 * Check if a character is punctuation.

Callers 6

findWordBackwardFunction · 0.90
findWordForwardFunction · 0.90
insertCharacterMethod · 0.90
wordWrapLineFunction · 0.90
insertCharacterMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected