Files

8 lines
152 B
TypeScript
Raw Permalink Normal View History

2025-07-07 16:05:18 +08:00
// @ts-nocheck
// #ifdef WEB
export const isBrowser = typeof window !== 'undefined';
// #endif
// #ifndef WEB
export const isBrowser = false;
// #endif