Ah, very interesting. Though it seems they only have the document control API. What I like about the Sheets integration is that you can write normal formulas you can use inside cells. like
function REVERSE_STRING(input) {
return input.split("").reverse().join("");
}