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

Function isServer

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

Source from the content-addressed store, hash-verified

8 * Returns whether the current runtime should be treated as a server environment.
9 */
10export const isServer = (): boolean => isServerFn()
11
12/**
13 * Manages environment detection used by TanStack Query internals.

Callers

nothing calls this directly

Calls 1

isServerFnFunction · 0.85

Tested by

no test coverage detected