@extra-array/from-range.min
TypeScript icon, indicating that this package has built-in type declarations

2.10.19 • Public • Published

Generates array from given number range. 📦 😺 🏃 📼 🌔 📜 📰 📘

Alternatives: from, from$, fromRange, fromApply.

This is part of package extra-array.

This is browserified, minified version of @extra-array/from-range.
It is exported as global variable array_fromRange.
CDN: unpkg, jsDelivr.


array.fromRange(v, [V], [s]);
// v: start number
// V: end number, excluding (v)
// s: step size (1)
const array = require("extra-array");

array.fromRange(0, 4);
// [ 0, 1, 2, 3 ]

array.fromRange(0, 8, 2);
// [ 0, 2, 4, 6 ]

Package Sidebar

Install

npm i @extra-array/from-range.min

Weekly Downloads

0

Version

2.10.19

License

MIT

Unpacked Size

5.01 kB

Total Files

8

Last publish

Collaborators

  • wolfram77