property ExitTarget.exitCode

The code the process will exit with; assigning it is how the guard has its say.

Type

number | string | null | undefined

Usage

import { type ExitTarget } from "lib/utils/exit-guard.ts";