Pruned node modules

tweaking workflow
This commit is contained in:
Drew Heavner
2019-12-04 10:28:59 -05:00
parent c328f3aa5c
commit fc9e3b4597
7302 changed files with 16 additions and 1659266 deletions

View File

@@ -1,17 +0,0 @@
var baseClamp = require('./_baseClamp'),
copyArray = require('./_copyArray'),
shuffleSelf = require('./_shuffleSelf');
/**
* A specialized version of `_.sampleSize` for arrays.
*
* @private
* @param {Array} array The array to sample.
* @param {number} n The number of elements to sample.
* @returns {Array} Returns the random elements.
*/
function arraySampleSize(array, n) {
return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));
}
module.exports = arraySampleSize;