MCPcopy Index your code
hub / github.com/TanStack/db / isLiveQueryCollectionUtils

Function isLiveQueryCollectionUtils

packages/react-db/src/useLiveInfiniteQuery.ts:17–21  ·  view source on GitHub ↗

* Type guard to check if utils object has setWindow method (LiveQueryCollectionUtils)

(
  utils: unknown,
)

Source from the content-addressed store, hash-verified

15 * Type guard to check if utils object has setWindow method (LiveQueryCollectionUtils)
16 */
17function isLiveQueryCollectionUtils(
18 utils: unknown,
19): utils is LiveQueryCollectionUtils {
20 return typeof (utils as any).setWindow === `function`
21}
22
23export type UseLiveInfiniteQueryConfig<TContext extends Context> = {
24 pageSize?: number

Callers 1

useLiveInfiniteQueryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…