Runtime
Functions
getJavaScriptRuntime()
function getJavaScriptRuntime():
| undefined
| JavaScriptRuntime;
Defined in: packages/complete-node/src/functions/runtime.ts:8
Helper function to get the current JavaScript runtime, such as Node.js. Returns undefined if the current runtime cannot be detected.
Returns
| undefined
| JavaScriptRuntime
isBunRuntime()
function isBunRuntime(): boolean;
Defined in: packages/complete-node/src/functions/runtime.ts:39
Helper function to check if the current JavaScript runtime is Bun.
Returns
boolean
See
isDenoRuntime()
function isDenoRuntime(): boolean;
Defined in: packages/complete-node/src/functions/runtime.ts:48
Helper function to check if the current JavaScript runtime is Deno.
Returns
boolean
See
isNodeRuntime()
function isNodeRuntime(): boolean;
Defined in: packages/complete-node/src/functions/runtime.ts:57
Helper function to check if the current JavaScript runtime is Node.js.
Returns
boolean