CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
_baseShuffle.js16 linesDownload Raw Back to lodash
1var shuffleSelf = require('./_shuffleSelf'),2    values = require('./values');3 4/**5 * The base implementation of `_.shuffle`.6 *7 * @private8 * @param {Array|Object} collection The collection to shuffle.9 * @returns {Array} Returns the new shuffled array.10 */11function baseShuffle(collection) {12  return shuffleSelf(values(collection));13}14 15module.exports = baseShuffle;16 
basant307/AI_Governance_Project · CoolFace