@tempots/dom
isSSR() function
Checks if the code is running on the server-side (SSR - Server-Side Rendering). The flag is set by running the prepareSSR
function.
Signature:
isSSR: () => boolean
Returns: boolean
Returns true if the code is running on the server-side, false otherwise.