Predefined function reference

exit

A reference entry for exit

Predefined function · core

exit ([string message, integer code]) ⇒ void

Optionally prints a message and then exits the program.

Alternative function names: bye_bye

Notes

Version 1.6.6 added the optional code parameter.