Open History to see the last commit
1---
2id: isLiveQueryWindowCollection
3title: isLiveQueryWindowCollection
4---
5
6```ts
7function isLiveQueryWindowCollection(collection): collection is LiveQueryWindowCollection;
8```
9
10Defined in: [packages/db/src/live-query-window-controller.ts:389](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-window-controller.ts#L389)
11
12**`Internal`**
13
14Whether a collection exposes an active ordered window.
15
16## Parameters
17
18### collection
19
20[`Collection`](../interfaces/Collection.md)\<`any`, `any`, `any`\>
21
22## Returns
23
24`collection is LiveQueryWindowCollection`