Share your code. Components are building blocks, you are the architect.

utils/range
v1.1.0
1.1.0
MIT
PUBLIC
3
Build: fail
BuildFail
Build Status: fail
Returns a list of numbers from `from` (inclusive) to `to` (exclusive).

Please configure Bit as a scoped registry to install components with NPM.Learn more

npm config set '@bit:registry' https://node.bitsrc.io
Use utils/range in your project
npm i @bit/bit.ramda.utils.range
Copied

range (from:Number, to:Number) : Array

Returns a list of numbers from from (inclusive) to to (exclusive).

Example

R.range(1, 5);    //=> [1, 2, 3, 4]
     R.range(50, 53);  //=> [50, 51, 52]

Arguments

from: Number

The first number in the list.

to: Number

One more than the last number in the list.

Returns

Array

The list of numbers in tthe set `[a, b)`.