isReservedChord
Function Stability: stable
Whether a chord is reserved by the browser or the OS (close tab, reload, quit...) and so refused when a command declares it.
Related guide: Commands and keymap →
Signature
TypeScript
import { isReservedChord } from '@aionbuilders/nabu/extend';Parameters
| Parameter | Type | Description |
|---|---|---|
chord | Chord | n/a |
platform | Platform | n/a |
Returns
boolean
whether the browser / OS owns this chord
Source: src/lib/utils/keys.js:246