Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
130
export
function
isPhantomJS() {
131
if
(isNode) {
132
return
false;
133
}
134
const
ua = navigator.userAgent.toLowerCase();
135
return
ua.indexOf(
'phantomjs'
) !== -1;
136
}
Callers
2
rxjs.Observable.timeout.spec.ts
File · 0.90
rxjs.Observable.collection.spec.ts
File · 0.90
Calls
1
indexOf
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…