deno.land / x / lodash@4.17.19 / npm-package / _baseShuffle.js

_baseShuffle.js
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
var shuffleSelf = require('./_shuffleSelf'), values = require('./values');
/** * The base implementation of `_.shuffle`. * * @private * @param {Array|Object} collection The collection to shuffle. * @returns {Array} Returns the new shuffled array. */function baseShuffle(collection) { return shuffleSelf(values(collection));}
module.exports = baseShuffle;
lodash

Version Info

Tagged at
3 years ago

External Dependencies

No external dependencies 🎉