Performs the given action for all items of the iterable.
Optional
import { forEach } from 'deleight/generators';forEach(range(10), ()=> console.log(i)); Copy
import { forEach } from 'deleight/generators';forEach(range(10), ()=> console.log(i));
Performs the given action for all items of the iterable.