MCPcopy
hub / github.com/theajack/disable-devtool / has

Function has

src/utils/util.ts:105–105  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

103 const ua = navigator.userAgent.toLowerCase();
104
105 const has = (name: string) => ua.indexOf(name) !== -1;
106
107 const mobile = isMobile();
108 const iframe = !!window.top && window !== window.top;

Callers 1

initISFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected