UNPKG

@promptbook/vercel

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

17 lines (16 loc) 492 B
/** * 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: any; isRunningInJest: any; isRunningInNode: any; isRunningInWebWorker: any; }; /** * TODO: [🎺] Also detect and report node version here */