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

Function arraySample

scripts/lodash.js:2431–2434  ·  view source on GitHub ↗

* A specialized version of `_.sample` for arrays. * * @private * @param {Array} array The array to sample. * @returns {*} Returns the random element.

(array)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

baseSampleFunction · 0.85

Calls 1

baseRandomFunction · 0.85

Tested by

no test coverage detected