> For the complete documentation index, see [llms.txt](https://bret-maxime.gitbook.io/reactjrx/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bret-maxime.gitbook.io/reactjrx/utils/javascript/isserver.md).

# isServer

Tells you whether the current script is running on a server or browser environment. Supports `deno` environment.

### Usage

```typescript
import { isServer } from "reactjrx"

if (!isServer) {
    // only access browser API when not on server
    console.log(`Your device is using ${ navigator.language } languages`)
}
```

### Reference

```typescript
const isServer: boolean
```
