tauri_sys::global_shortcut

Function is_registered

Source
pub async fn is_registered(shortcut: &str) -> Result<bool, Error>
Expand description

Determines whether the given shortcut is registered by this application or not.

ยงExample

use tauri_sys::global_shortcut::is_registered;

let registered = is_registered("CommandOrControl+P").await?;