Function: isBunRuntime()
Makaio Framework / utils / isBunRuntime
Function: isBunRuntime()
Section titled “Function: isBunRuntime()”isBunRuntime():
boolean
Defined in: ../../../packages/utils/src/runtime.ts:17
Returns true when the current process is running under the Bun runtime.
Detection is based on the presence of the Bun property on globalThis,
which Bun always exposes. Uses a bracket-access check to avoid a TypeScript
error on environments where the Bun global is not declared.
Returns
Section titled “Returns”boolean
Whether the current runtime is Bun.