(hotkey: string, args: GridKeyEventArgs, details: HotkeyResultDetails)
| 29 | } |
| 30 | |
| 31 | export function isHotkey(hotkey: string, args: GridKeyEventArgs, details: HotkeyResultDetails): boolean { |
| 32 | const result = isHotkeyInner(hotkey, args); |
| 33 | if (result) details.didMatch = true; |
| 34 | return result; |
| 35 | } |
| 36 | |
| 37 | function isHotkeyInner(hotkey: string, args: GridKeyEventArgs): boolean { |
| 38 | if (hotkey.length === 0) return false; |
no test coverage detected
searching dependent graphs…