Skip to main content

areHotkeysEqual

还没翻译译自英文(tanstack.com)本页 12 段都还没译

function areHotkeysEqual(
   left, 
   right, 
   platform?): boolean;

Defined in: match.ts:194

Compares normalized binding identity, including all four modifiers. Aliases resolve on the supplied platform. A physical code and a logical key remain distinct even when one keyboard event could match both.

Parameters

left

RegisterableHotkey

RegisterableHotkey

platform?

"mac" | "windows" | "linux"

Returns

boolean