combineN method

T combineN(
  1. T a,
  2. int n
)

Return a combined with itself n times.

Implementation

T combineN(T a, int n) {
  if (n <= 0) {
    throw const FormatException(
        "Repeated combining for semigroups must have n > 0");
  }

  return _repeatedCombineN(a, n);
}