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

Function baseSampleSize

scripts/lodash.js:3970–3973  ·  view source on GitHub ↗

* The base implementation of `_.sampleSize` without param guards. * * @private * @param {Array|Object} collection The collection to sample. * @param {number} n The number of elements to sample. * @returns {Array} Returns the random elements.

(collection, n)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

valuesFunction · 0.85
shuffleSelfFunction · 0.85
baseClampFunction · 0.85

Tested by

no test coverage detected