()
| 1 | export const isSSREnabled = (): boolean => { |
| 2 | return typeof process.env.ENABLE_AYANAMI_SSR !== 'undefined' |
| 3 | ? process.env.ENABLE_AYANAMI_SSR === 'true' |
| 4 | : typeof process !== 'undefined' && |
| 5 | process.versions && |
| 6 | typeof process.versions.node === 'string' |
| 7 | } |
| 8 | |
| 9 | export const SSREnabled = isSSREnabled() |
no outgoing calls
no test coverage detected