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

Function isWindows

src/preact/utils/platform.js:84–86  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

82 * @return {boolean}
83 */
84 isWindows() {
85 return /Windows/i.test(self.navigator.userAgent);
86 },
87
88 /**
89 * Whether the current browser is standalone.

Callers

nothing calls this directly

Calls 1

testMethod · 0.45

Tested by

no test coverage detected