Open History to see the last commit
1---
2id: hasLiveQueryWindowLeases
3title: hasLiveQueryWindowLeases
4---
5
6```ts
7function hasLiveQueryWindowLeases(target): boolean;
8```
9
10Defined in: [packages/db/src/live-query-window-controller.ts:403](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-window-controller.ts#L403)
11
12**`Internal`**
13
14Whether an infinite-query controller currently owns this window.
15
16## Parameters
17
18### target
19
20`object`
21
22## Returns
23
24`boolean`