stop
stop([code=0])
Halt script execution with an optional exit code (default: 0)
Syntaxe
if (error) { stop(1); }
Arguments
| Name | Required | Default | Description |
|---|---|---|---|
code | - | 0 | Exit code |
stop([code=0])
Halt script execution with an optional exit code (default: 0)
if (error) { stop(1); }
| Name | Required | Default | Description |
|---|---|---|---|
code | - | 0 | Exit code |