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.
false
shortcut definition, modifiers and key separated by "+" e.g. CmdOrControl+Q
import { isRegistered } from '@tauri-apps/plugin-global-shortcut';const isRegistered = await isRegistered('CommandOrControl+P'); Copy
import { isRegistered } from '@tauri-apps/plugin-global-shortcut';const isRegistered = await isRegistered('CommandOrControl+P');
2.0.0
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.