in packages/ie11-detection/src/MsWindow.ts [49:59]
export function isMsWindow(window: Window): window is MsWindow {
if (quacksLikeAnMsWindow(window) && window.msCrypto.subtle !== undefined) {
const { getRandomValues, subtle } = window.msCrypto;
return msSubtleCryptoMethods
.map<Function>(methodName => subtle[methodName])
.concat(getRandomValues)
.every(method => typeof method === "function");
}
return false;
}