2026-09-02 16:10:57 +08:00

8 lines
152 B
TypeScript

// @ts-nocheck
// #ifdef WEB
export const isBrowser = typeof window !== 'undefined';
// #endif
// #ifndef WEB
export const isBrowser = false;
// #endif