Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

isLiveQueryWindowCollection.md

24 lines565 Bytes

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:421](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-window-controller.ts#L421)
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`