fromIterable - nodef/extra-array GitHub Wiki
Convert an iterable to array.
Alternatives: fromIterable, fromIterable$. Similar: fromIterable, fromRange, fromInvocation, fromApplication.
function fromIterable(x)
// x: an iterable
const xarray = require('extra-array');
var x = [1, 2].values();
xarray.fromIterable(x);
// → [ 1, 2 ]