in functions/source/LoggingProcessorLambda/index.js [73:79]
7 lines of code
2 McCabe index (conditional complexity)
function chunkArrayInGroups(arr, size) {
var myArray = [];
for(var i = 0; i < arr.length; i += size) {
myArray.push(arr.slice(i, i+size));
}
return myArray;
}