I want to create a simple function that returns a boolean value when the word "website" appears in a specific cell. When I run the debugger, matches
returns undefined.
function myFunction() {
var url = ss.getRange(8,1).getValue().toString();
var matches = url.includes("website");
return matches;
}
Why doesn't my function return a boolean value?