isWindow
Identifies if a value is the global window.
Type Definitions
ts
/**
* @param val - The value.
* @returns If the value is the global window.
*/
export declare function isWindow(val: unknown): val is Window
1
2
3
4
5
2
3
4
5