pinafore/src/routes/_utils/userAgent/isMac.js

4 lines
119 B
JavaScript
Raw Normal View History

import { thunk } from '../thunk'
export const isMac = thunk(() => process.browser && /mac/i.test(navigator.platform))