This commit is contained in:
Domen Kožar 2020-02-24 13:29:22 +01:00
parent 033d472283
commit 49df04613e
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246
6774 changed files with 1602535 additions and 1 deletions

15
node_modules/lodash/_baseSample.js generated vendored Normal file
View file

@ -0,0 +1,15 @@
var arraySample = require('./_arraySample'),
values = require('./values');
/**
* The base implementation of `_.sample`.
*
* @private
* @param {Array|Object} collection The collection to sample.
* @returns {*} Returns the random element.
*/
function baseSample(collection) {
return arraySample(values(collection));
}
module.exports = baseSample;