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

Function stackTracesEnabled

packages/zone.js/lib/zone-spec/long-stack-trace.ts:91–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89 // this will improve performance in some test(some test will
90 // set stackTraceLimit to 0, https://github.com/angular/zone.js/issues/698
91 function stackTracesEnabled(): boolean {
92 // Cast through any since this property only exists on Error in the nodejs
93 // typings.
94 return (Error as any).stackTraceLimit > 0;
95 }
96
97 type LongStackTraceZoneSpec = ZoneSpec & {longStackTraceLimit: number};
98

Callers 2

patchLongStackTraceFunction · 0.85
computeIgnoreFramesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…