Skip to content

1681-engine / index / parseChord

Function: parseChord() ​

ts
function parseChord(binding): KeyChord | null;

Defined in: src/input/keyChord.ts:20

The chord a binding names, or null for a plain key (no +) or a malformed one (an unknown modifier).

Parameters ​

ParameterType
bindingstring

Returns ​

KeyChord | null

Released under the MIT License.