8
front/src/modules/ui/hotkey/utils/isSameHotkeyScope.ts
Normal file
8
front/src/modules/ui/hotkey/utils/isSameHotkeyScope.ts
Normal file
@ -0,0 +1,8 @@
|
||||
import { HotkeyScope } from '../types/HotkeyScope';
|
||||
|
||||
export function isSameHotkeyScope(
|
||||
hotkeyScope1: HotkeyScope | undefined | null,
|
||||
hotkeyScope2: HotkeyScope | undefined | null,
|
||||
): boolean {
|
||||
return JSON.stringify(hotkeyScope1) === JSON.stringify(hotkeyScope2);
|
||||
}
|
||||
Reference in New Issue
Block a user