@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
14 lines (13 loc) • 443 B
TypeScript
/**
* Returns information about the current runtime environment
*
* Note: `$` is used to indicate that this function is not a pure function - it looks at the global object to determine the environments
*
* @public exported from `@promptbook/utils`
*/
export declare function $detectRuntimeEnvironment(): {
isRunningInBrowser: boolean;
isRunningInJest: boolean;
isRunningInNode: boolean;
isRunningInWebWorker: boolean;
};