UNPKG

@antv/s2

Version:

effective spreadsheet render core lib

17 lines (16 loc) 467 B
/** * SSR (Server-Side Rendering) environment detection utilities */ /** * Check if running in SSR (Node.js) environment * Returns true if window is not defined (typical Node.js environment) */ export declare function isSSR(): boolean; /** * Check if document is available (browser environment) */ export declare function hasDocument(): boolean; /** * Check if navigator is available (browser environment) */ export declare function hasNavigator(): boolean;