MCPcopy Index your code
hub / github.com/deployd/deployd / baseShuffle

Function baseShuffle

test-app/public/sinon.js:14663–14665  ·  view source on GitHub ↗

* The base implementation of `_.shuffle`. * * @private * @param {Array|Object} collection The collection to shuffle. * @returns {Array} Returns the new shuffled array.

(collection)

Source from the content-addressed store, hash-verified

14661 * @returns {Array} Returns the new shuffled array.
14662 */
14663 function baseShuffle(collection) {
14664 return shuffleSelf(values(collection));
14665 }
14666
14667 /**
14668 * The base implementation of `_.slice` without an iteratee call guard.

Callers

nothing calls this directly

Calls 2

shuffleSelfFunction · 0.85
valuesFunction · 0.85

Tested by

no test coverage detected