README
Generates iterable from function call. :package: :smiley_cat: :running: :vhs: :moon: :scroll: :newspaper: :blue_book:
Alternatives: from, fromRange, fromCall, fromApply.
Similar: callable, fromCall.
This is part of package extra-iterable.
iterable.fromCall(fc, ...as);
// fc: called function
// as: arguments
const iterable = require("extra-iterable");
var x = iterable.fromCall(Math.random);
[...iterable.take(x, 4)];
// [
// 0.9563611116619364,
// 0.9938159365212336,
// 0.38494305694810205,
// 0.06828624643528514
// ]