# isServer

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
const isServer: boolean;
```

Defined in: [packages/query-core/src/utils.ts:116](https://github.com/TanStack/query/blob/main/packages/query-core/src/utils.ts#L116)

## Deprecated

use `environmentManager.isServer()` instead.
