repeatsForIndexed<T> method
Implementation
void repeatsForIndexed<T>(Function(int i) apply) {
if (this > 0) {
for (int i = 0; i < this; i++) {
apply(i);
}
}
}
void repeatsForIndexed<T>(Function(int i) apply) {
if (this > 0) {
for (int i = 0; i < this; i++) {
apply(i);
}
}
}