MCPcopy Create free account
hub / github.com/SimonBuxx/LogiJS / arraySample

Function arraySample

libraries/lodash.js:2439–2442  ·  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