MCPcopy
hub / github.com/vuejs/core / isSupported

Function isSupported

packages/runtime-core/src/profiling.ts:44–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44function isSupported() {
45 if (supported !== undefined) {
46 return supported
47 }
48 if (typeof window !== 'undefined' && window.performance) {
49 supported = true
50 perf = window.performance
51 } else {
52 supported = false
53 }
54 return supported
55}

Callers 2

startMeasureFunction · 0.85
endMeasureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected