Assert that the current runtime is one of the supported types. Throws if the runtime is not supported.
Array of supported runtime types
Error if current runtime is not in the supported list
// Ensure we're running in Node.js or BunassertRuntime([Runtime.Node, Runtime.Bun]) Copy
// Ensure we're running in Node.js or BunassertRuntime([Runtime.Node, Runtime.Bun])
Assert that the current runtime is one of the supported types. Throws if the runtime is not supported.