Is it possible to use a Google Spreadsheet function in a Google Apps Script?
There is a ton of documentation about going the other way around, i.e. using Google Apps Script functions in Google Spreadsheets, but I haven't found an answer to this.
For example, let's say want to calculate a standard deviation on some data in a JavaScript array. Can I use Google Spreadsheets' STDEV
function?