MCPcopy Create free account
hub / github.com/ampproject/amphtml / isEdge

Function isEdge

src/preact/utils/platform.js:68–70  ·  view source on GitHub ↗

* Whether the current browser is an Edge browser. * @return {boolean}

()

Source from the content-addressed store, hash-verified

66 * @return {boolean}
67 */
68 isEdge() {
69 return /Edge/i.test(self.navigator.userAgent);
70 },
71
72 /**
73 * Whether the current browser is based on the WebKit engine.

Callers

nothing calls this directly

Calls 1

testMethod · 0.45

Tested by

no test coverage detected