Easypt

return

..Root.BlockCallable.return

  1. Terminates the current BlockCallable.
  2. Terminates the current BlockCallable and returns the specified value to its caller.

Child of:

BlockCallable

Signatures:

NativeCallable, Callable

Example:

auto fun.=({
    log("a");
    log("b");
    return("c");
    log("d");
});

log(fun());