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

Function isDigitKey

packages/pi-tui/src/keys.ts:762–764  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

760}
761
762function isDigitKey(key: string): boolean {
763 return key >= "0" && key <= "9";
764}
765
766function matchesPrintableModifyOtherKeys(data: string, expectedKeycode: number, expectedModifier: number): boolean {
767 if (expectedModifier === 0) return false;

Callers 1

matchesKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected