2024-01-29 09:26:07 +08:00

1 line
90 B
JavaScript

export const isBrowser = typeof document !== 'undefined' && typeof window !== 'undefined';