function
String
Name of the function to call. Can be a dotted path for global functions (e.g., "Math.max") or a method name when used with a receiver.
receiver
T?
Optional object to call the method on. If not provided, the function is treated as a global function.
return
Type?
The expected return type. If not specified, the call returns void.
commands
Commands
Commands that produce the arguments to pass to the function. Each command's result becomes one argument.
return
T
The result of the function call, typed according to the return parameter. Returns void if no return type is specified.