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