2024-05-12 11:13:54 +08:00

2 lines
70 B
TypeScript

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