MCPcopy Create free account
hub / github.com/NUKnightLab/sql-mysteries / arraySampleSize

Function arraySampleSize

scripts/lodash.js:2444–2446  ·  view source on GitHub ↗

* 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.

(array, n)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

shuffleSelfFunction · 0.85
copyArrayFunction · 0.85
baseClampFunction · 0.85

Tested by

no test coverage detected