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

Method isWindows

src/service/platform-impl.js:101–103  ·  view source on GitHub ↗

* Whether the current browser is running on Windows. * @return {boolean}

()

Source from the content-addressed store, hash-verified

99 * @return {boolean}
100 */
101 isWindows() {
102 return /Windows/i.test(this.navigator_.userAgent);
103 }
104
105 /**
106 * Whether the current browser is standalone.

Callers

nothing calls this directly

Calls 1

testMethod · 0.45

Tested by

no test coverage detected