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

isLiveQueryWindowCollection.md

26 lines608 Bytes

1---
2id: isLiveQueryWindowCollection
3title: isLiveQueryWindowCollection
4---
5​
6# Function: isLiveQueryWindowCollection()
7​
8```ts
9function isLiveQueryWindowCollection(collection): collection is LiveQueryWindowCollection;
10```
11​
12Defined 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)
13​
14**`Internal`**
15​
16Whether a collection exposes an active ordered window.
17​
18## Parameters
19​
20### collection
21​
22[`Collection`](../interfaces/Collection.md)\<`any`, `any`, `any`\>
23​
24## Returns
25​
26`collection is LiveQueryWindowCollection`