Calls a Callback for each element of an Iterable.
Print all elements
const printAll = forEach(x => console.log(x));printAll([1, 2, 3]); // 1, 2, 3
map and tap for similar operations
the Iterable value type
the Callback to call
Generated using TypeDoc
Calls a Callback for each element of an Iterable.
Example
Print all elements
See
map and tap for similar operations