MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / is_mac

Function is_mac

wasm/ios_detect.js:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17var is_mac = function () {
18 if (is_ios())
19 return false;
20 return navigator.platform.toUpperCase().indexOf('MAC') >= 0;
21}
22
23var is_safari = function(){
24 return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);

Callers 4

open_linkFunction · 0.85
resetSettingsFunction · 0.85
getGlfwModPrimaryCtrlFunction · 0.85
getGlfwKeyDeleteFunction · 0.85

Calls 1

is_iosFunction · 0.85

Tested by

no test coverage detected