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

Function isServer

packages/query-core/src/environmentManager.ts:15–17  ·  view source on GitHub ↗

* Returns whether the current runtime should be treated as a server environment.

()

Source from the content-addressed store, hash-verified

13 * Returns whether the current runtime should be treated as a server environment.
14 */
15 isServer(): boolean {
16 return isServerFn()
17 },
18 /**
19 * Overrides the server check globally.
20 */

Callers

nothing calls this directly

Calls 1

isServerFnFunction · 0.85

Tested by

no test coverage detected