I'm tying to create a custom function for google sheets that will be accessible with an Add-On to Google Sheets.
The problem is when I run the Add-On as a test, when I type in my custom formula it gives me this error: #NAME? Error Unknown function: 'myfunction'.
For simplicity sake, I have just been using the following simple function so I know the issue isn't with my functions code
function myFunction(input) {
var output = input * 2;
return output;
}