MCPcopy
hub / github.com/github/hotkey / normalizeSequence

Function normalizeSequence

src/sequence.ts:60–65  ·  view source on GitHub ↗
(sequence: string)

Source from the content-addressed store, hash-verified

58}
59
60export function normalizeSequence(sequence: string): NormalizedSequenceString {
61 return sequence
62 .split(SEQUENCE_DELIMITER)
63 .map(h => normalizeHotkey(h))
64 .join(SEQUENCE_DELIMITER) as NormalizedSequenceString
65}

Callers

nothing calls this directly

Calls 1

normalizeHotkeyFunction · 0.85

Tested by

no test coverage detected