MCPcopy Index your code
hub / github.com/codecombat/codecombat / canUseNextTick

Function canUseNextTick

app/assets/javascripts/setImmediate.js:64–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 }());
63
64 function canUseNextTick() {
65 // Don't get fooled by e.g. browserify environments.
66 return typeof process === "object" &&
67 Object.prototype.toString.call(process) === "[object process]";
68 }
69
70 function canUseMessageChannel() {
71 return !!global.MessageChannel;

Callers 1

setImmediate.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected