Function: isApplePlatform()
isApplePlatform(
platform?):boolean
Defined in: src/lib/utils/shortcuts/index.ts:356
Whether a platform (navigator.platform by default) is an Apple device, where "cmd" is the Command key.
Parameters
platform?
string = navigator.platform
Returns
boolean
Example
isApplePlatform("MacIntel"); // true
isApplePlatform("Win32"); // false