MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / letterOfCode

Function letterOfCode

graph-ui/src/app/keyboard.ts:164–167  ·  view source on GitHub ↗

Der Buchstabe hinter einer physischen Taste, oder nichts.

(code: string)

Source from the content-addressed store, hash-verified

162
163/** Der Buchstabe hinter einer physischen Taste, oder nichts. */
164function letterOfCode(code: string): string | undefined {
165 const match = /^Key([A-Z])$/.exec(code);
166 return match === null ? undefined : match[1].toLowerCase();
167}
168
169/**
170 * Das Menuekuerzel eines Tastendrucks, oder nichts.

Callers 1

menuShortcutForFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected