function matchesShortcut(event: ShortcutEvent, shortcut: string | Shortcut, options?: ShortcutOptions): boolean; Whether a keydown event is the shortcut, with exactly its modifiers. Primary is the Command key on Apple platforms and Ctrl elsewhere. Events of an input method's composition never match.