Skip to content

Runtime: isServerEnvironment

Functions, types, and exports for Runtime: isServerEnvironment.

Page outline

Classify the current runtime consistently across Palamedes packages. Browser workers are client environments even though they do not expose a window global.

import { isServerEnvironment } from "@palamedes/runtime"

isServerEnvironment(): boolean

Returns

boolean

Source entry on GitHub

Last updated: November 1, 2026