weasel API - v0.8.0
    Preparing search index...

    Function matchesKeyBinding

    • Pure matcher for KeyBinding against a KeyboardEvent. Only checks key + modifier policy — does NOT apply the editable-target skip or preventDefault. Shared by the tool dispatcher (useKeybindings) and the gesture dispatcher so the rules can't drift.

      Parameters

      • e: KeyboardEvent
      • b: KeyBinding

      Returns boolean