(func: (val: DialogField<ArrayElement<T>>, index: number) => void)
| 736 | } |
| 737 | |
| 738 | forEach(func: (val: DialogField<ArrayElement<T>>, index: number) => void): void { |
| 739 | const val = this.get(); |
| 740 | if (Array.isArray(val)) { |
| 741 | val.forEach((_, i) => func(this.sub(i as keyof T) as DialogField<ArrayElement<T>>, i)); |
| 742 | } |
| 743 | } |
| 744 | |
| 745 | remove(index: number) { |
| 746 | const val = this.get(); |
no test coverage detected