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

utils/split-every
v1.1.0
1.1.0
1.0.0
MIT
PUBLIC
3
Build: fail
BuildFail
Build Status: fail
Splits a collection into slices of the specified length.

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/split-every in your project
npm i @bit/bit.ramda.utils.split-every
Copied

splitEvery (n:Number, list:Array) : Array

Splits a collection into slices of the specified length.

Example

R.splitEvery(3, [1, 2, 3, 4, 5, 6, 7]); //=> [[1, 2, 3], [4, 5, 6], [7]]
     R.splitEvery(3, 'foobarbaz'); //=> ['foo', 'bar', 'baz']

Arguments

n: Number

list: Array

Returns

Array