canCreateRepeatAt method
Whether a new instance of the repeat at repeatIndex can be added.
Port of canCreateRepeat(TreeReference, FormIndex).
Implementation
bool canCreateRepeatAt(TreeReference repeatRef, FormIndex repeatIndex) =>
canCreateRepeat(
repeatRef,
elementAt(repeatIndex) as GroupDef,
repeatIndex.elementMultiplicity,
);