2024-04-28 10:10:03 +08:00

2 lines
70 B
TypeScript

// @ts-nocheck
export const isBrowser = typeof window !== 'undefined';