ModulesStd ModuleStd Process ModuleMelon.std.process.exit(exitCode?)On this pageMelon.std.process.exit(exitCode?)Exits the current process with an optional custom exit code.Status: stable Returns: neverParametersNameTypeDescriptionexitCodenumber?Thread exit codeExample usageconst { process } = Melon.std;if (condition) { process.exit(1);}process.exit();