@aituber-onair/kizuna
Version:
A sophisticated bond system (絆 - Kizuna) for managing relationships between users and AI characters in AITuber OnAir.
17 lines (16 loc) • 389 B
TypeScript
/**
* Environment detection utility
* Detects browser and Node.js environments
*/
/**
* Detect current execution environment
*/
export declare function detectEnvironment(): "browser" | "node";
/**
* Check if running in browser environment
*/
export declare function isBrowser(): boolean;
/**
* Check if running in Node.js environment
*/
export declare function isNode(): boolean;