MCPcopy
hub / github.com/glideapps/glide-data-grid / isHotkey

Function isHotkey

packages/core/src/common/is-hotkey.ts:31–35  ·  view source on GitHub ↗
(hotkey: string, args: GridKeyEventArgs, details: HotkeyResultDetails)

Source from the content-addressed store, hash-verified

29}
30
31export 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
37function isHotkeyInner(hotkey: string, args: GridKeyEventArgs): boolean {
38 if (hotkey.length === 0) return false;

Callers 1

DataEditorImplFunction · 0.85

Calls 1

isHotkeyInnerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…