## getWindow() function

Returns the global window object if available.

**Signature:**

```typescript
export declare function getWindow(): Window | undefined;
```

**Returns:**

Window \| undefined

The window object or undefined.

- [getWindow() function](/content/docs/sdk/core.getwindow#getwindow-function/index.html)
