Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/levo/lib/lib.deno_runtime.d.ts>Deno.exit

Server side rendering with The Elm Architecture in Deno
Latest
function Deno.exit
import { Deno } from "https://deno.land/x/levo@v0.0.27/lib/lib.deno_runtime.d.ts";
const { exit } = Deno;

Exit the Deno process with optional exit code. If no exit code is supplied then Deno will exit with return code of 0.

Deno.exit(5);

Parameters

optional
code: number

Returns

never