Skip to main content
Build Real-time Applications with the new "watch" API in Deno KV
Read more
function Deno.exit

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