本页还没有译文
本页 11 段还没译成Deutsch,下面显示的是英文原文。checkHotkey
还没翻译译自英文(tanstack.com)本页 11 段都还没译
function checkHotkey(hotkey): boolean;Defined in: validate.ts:155
Validates a hotkey and logs warnings to the console. Useful for development-time feedback.
Parameters
hotkey
Hotkey | string & object
The hotkey string to validate
Returns
boolean
True if the hotkey is valid (may still have warnings)
Example
checkHotkey('Alt+C')
// Console: Warning: Alt+C may not work reliably on macOS...
// Returns: trueAI 翻译查看英文原文