2 lines
103 B
TypeScript
2 lines
103 B
TypeScript
|
export const isMac = typeof window !== "undefined" ? navigator.userAgent.indexOf("Mac") != -1 : false;
|