repeats property

bool get repeats

Whether the element is a repeat.

Implementation

bool get repeats {
  final e = element;
  return e is GroupDef && e.isRepeat;
}