isMergedCell static method

List isMergedCell(
  1. Range range,
  2. bool isRow,
  3. int num4
)

Determines whether the Range is Merged or not.

Implementation

static List<dynamic> isMergedCell(Range range, bool isRow, int num4) {
  if (range._rowSpan != 0 && range._colSpan != 0) {
    if (isRow && range._rowSpan == 1) {
      num4 = range._colSpan;
    } else if (range._colSpan == 1) {
      num4 = range._rowSpan;
    }
    return <dynamic>[num4, true];
  }
  return <dynamic>[num4, false];
}