isRegistered
Module @netwiv/api/plugins/global-shortcut · Kind Function
import { isRegistered } from '@netwiv/api/plugins/global-shortcut';Determines whether the given shortcut is registered by this application or not.
If the shortcut is registered by another application, it will still return false.
Signature
Section titled “Signature”function isRegistered(shortcut: string): Promise<boolean>Example
Section titled “Example”import { isRegistered } from '@netwiv/api/plugins/global-shortcut';const isRegistered = await isRegistered('CommandOrControl+P');Upstream since 2.0.0
Descriptions come from the pinned @tauri-apps/plugin-global-shortcut@2.3.2 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.