# isLiveQueryWindowCollection

# Function: isLiveQueryWindowCollection()

```ts
function isLiveQueryWindowCollection(collection): collection is LiveQueryWindowCollection;
```

Defined in: [packages/db/src/live-query-window-controller.ts:386](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-window-controller.ts#L386)

**`Internal`**

Whether a collection exposes an active ordered window.

## Parameters

### collection

[`Collection`](../interfaces/Collection.md)\<`any`, `any`, `any`\>

## Returns

`collection is LiveQueryWindowCollection`
