The iterable object of interest.
The callback function to invoke for each value.
Iteration can be terminated early by returning false
from the
callback function.
Linear.
import { each } from '@lumino/algorithm';
let data = [5, 7, 0, -2, 9];
each(data, value => { console.log(value); });
Invoke a function for each value in an iterable.