(value, func)
| 2569 | } |
| 2570 | } |
| 2571 | implicitLoop(value, func) { |
| 2572 | if (this.shouldAutoIterate(value)) { |
| 2573 | for (const x of value) func(x); |
| 2574 | } else { |
| 2575 | func(value); |
| 2576 | } |
| 2577 | } |
| 2578 | /** |
| 2579 | * Iterate over targets with a when condition, applying forward or reverse per element. |
| 2580 | * Supports async conditions transparently -- returns a Promise if any condition is async. |
no test coverage detected