Function: fixedShortcutFor()
fixedShortcutFor(
combo):ShortcutDefinition|undefined
Defined in: src/lib/utils/shortcuts/index.ts:286
The fixed action that uses a key combination, if any.
Parameters
combo
Returns
ShortcutDefinition | undefined
Example
fixedShortcutFor({ key: "z", cmd: true })?.id; // "undo"