Keymap.matchModifiers method
Keymap › matchModifiers
Unofficial
Checks whether the currently-pressed modifiers exactly match the given compiled modifier string.Signature:
matchModifiers(modifiers: string): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| modifiers | string | The compiled, sorted, comma-joined modifier string to compare against. |
Returns: boolean — Whether the modifiers match.