p5.js-web-editor/client/utils/device.js
2020-08-13 18:29:39 -03:00

1 line
107 B
JavaScript

export const isMac = () => navigator.userAgent.toLowerCase().indexOf('mac') !== -1; // eslint-disable-line