1 export function isElmWindow(elm: unknown): elm is Window {
2 return typeof window !== "undefined" && elm === window
3 }