@corefunc/corefunc
    Preparing search index...

    Function cliExit

    • Terminate the current process with an exit code.

      Parameters

      • Optionalcode: number | boolean = 0

        The exit code. If false, the function returns without exiting. If true, the exit code is 0.

      Returns void

      cliExit(0);