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

Function isServerFn

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

Source from the content-addressed store, hash-verified

6export type IsServerValue = () => boolean
7
8let isServerFn: IsServerValue = () => defaultIsServer
9
10/**
11 * Returns whether the current runtime should be treated as a server environment.

Callers 1

isServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected