MCPcopy Index your code
hub / github.com/angular/angular / isPhantomJS

Function isPhantomJS

packages/zone.js/test/test-util.ts:130–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128}
129
130export function isPhantomJS() {
131 if (isNode) {
132 return false;
133 }
134 const ua = navigator.userAgent.toLowerCase();
135 return ua.indexOf('phantomjs') !== -1;
136}

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…