@tauri-apps/plugin-global-shortcut - v2.3.1
    Preparing search index...

    Function isRegistered

    • 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.

      Parameters

      • shortcut: string

        shortcut definition, modifiers and key separated by "+" e.g. CmdOrControl+Q

      Returns Promise<boolean>

      import { isRegistered } from '@tauri-apps/plugin-global-shortcut';
      const isRegistered = await isRegistered('CommandOrControl+P');

      2.0.0