ctrl + k
On This Page
Constants
SSR Utilities
The SSR utilities provide constants for detecting whether the code is running on the server or client side.
Constants
isServer
A boolean constant indicating whether the current environment is server-side.
Example
isClient
A boolean constant indicating whether the current environment is client-side (browser).