Tests whether a KeyboardEvent matches a parsed {@link KeyCombo}matchesKeyCombo
Functioncore/utils/keyboard
projects/core/utils/keyboard.util.ts
Description#
Tests whether a KeyboardEvent matches a parsed KeyCombo.
Signature#
matchesKeyCombo(event: KeyboardEvent, combo: KeyCombo, isMac: boolean)
Parameters#
The keyboard event to test.
The parsed combo to match against.
Whether the current platform is macOS (affects mod resolution).