Back to Pocketbase

Interface exit

static/jsvm/interfaces/os.exit.html

latest614 B
Original Source

Interface exit

Hierarchy

  • exit

  • exit(code): void

Exit causes the current program to exit with the given status code. Conventionally, code zero indicates success, non-zero an error. The program terminates immediately; deferred functions are not run.

For portability, the status code should be in the range [0, 125].

Parameters

code: number

Returns void

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc