function isModifierKey(key): boolean;Defined in: parse.ts:278
Checks if a string is a recognized modifier token (including aliases).
For a KeyboardEvent, use isModifier(normalizeKeyName(event.key)) so DOM spellings like OS / Win match the same alias table.
Key | string & object
Key name or alias (e.g. from a hotkey string or event.key)
boolean
True if the string is a recognized modifier