MCPcopy Create free account
hub / github.com/TanStack/hotkeys / isSingleLetterKey

Function isSingleLetterKey

packages/hotkeys/src/constants.ts:439–441  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

437 * ```
438 */
439export function isSingleLetterKey(key: string): boolean {
440 return /^\p{Letter}$/u.test(key)
441}
442
443/**
444 * Normalizes a key name to its canonical form.

Callers 2

matchesKeyboardEventFunction · 0.90
normalizeKeyNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…