Report question

Question: How to test type of range parameter in Google Spreadsheet script?