The exit Command

Syntax

exit

Description

The exit command exits the current event handler or function without returning a value. It is equivalent to return with no expression.

Examples

<button _="on click
  if I match .disabled
    exit
  end
  put 'clicked!' into me
">Click Me</button>