Files
2025-08-21 11:23:54 +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