--- id: isServer title: isServer --- ```ts const isServer: boolean; ``` Defined in: [packages/query-core/src/utils.ts:114](https://github.com/TanStack/query/blob/main/packages/query-core/src/utils.ts#L114) ## Deprecated use `environmentManager.isServer()` instead.