In a Google docs spreadsheet. If cells A1 & A2 are merged, is there a way to confirm they are merged, using google apps script?
There is a merge function in GAS
Yes, now you can use isPartOfMerge to check.
isPartOfMerge
And for anyone wants to get the value of merged cell:
var value = (cell.isPartOfMerge() ? cell.getMergedRanges()[0].getCell(1,1) : cell).getValue();
Hope it help.