result property

Object result
read / write

The return value of the script function. The type will match the type returned in Apps Script. Functions called through the Execution API cannot return Apps Script-specific objects (such as a Document or Calendar); they can only return primitive types such as a string, number, array, object, or boolean.

The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.


core.Object result