Function: cmdSymbol()
cmdSymbol(
platform?):string
Defined in: src/lib/utils/shortcuts/index.ts:367
The symbol for the "cmd" key in shortcut labels: ⌘ on Apple devices, ^ (Control) elsewhere.
Parameters
platform?
string
Returns
string
Example
cmdSymbol("MacIntel"); // "⌘"
cmdSymbol("Win32"); // "^"