(value, func)
| 2558 | } |
| 2559 | } |
| 2560 | implicitLoop(value, func) { |
| 2561 | if (this.shouldAutoIterate(value)) { |
| 2562 | for (const x of value) func(x); |
| 2563 | } else { |
| 2564 | func(value); |
| 2565 | } |
| 2566 | } |
| 2567 | /** |
| 2568 | * Iterate over targets with a when condition, applying forward or reverse per element. |
| 2569 | * Supports async conditions transparently -- returns a Promise if any condition is async. |
no test coverage detected