MCPcopy Create free account
hub / github.com/TanStack/query / isServer

Function isServer

packages/query-core/src/environmentManager.ts:14–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 * @returns `true` if the runtime is treated as a server.
13 */
14export const isServer = (): boolean => isServerFn()
15
16/**
17 * Manages how TanStack Query detects whether the current runtime should be treated as

Callers 1

Calls 1

isServerFnFunction · 0.85

Tested by

no test coverage detected