mirror of
https://github.com/langgenius/dify.git
synced 2026-02-07 03:56:23 +00:00
4 lines
109 B
TypeScript
4 lines
109 B
TypeScript
export const isServer = typeof window === 'undefined'
|
|
|
|
export const isClient = typeof window !== 'undefined'
|