MCPcopy Create free account
hub / github.com/eshengsky/iBlog.Net / sample

Function sample

iBlog.WebUI/Scripts/lodash.js:6929–6950  ·  view source on GitHub ↗

* Gets a random element or `n` random elements from a collection. * * @static * @memberOf _ * @category Collection * @param {Array|Object|string} collection The collection to sample. * @param {number} [n] The number of elements to sample.

(collection, n, guard)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

shuffleFunction · 0.85
runInContextFunction · 0.85

Calls 4

isIterateeCallFunction · 0.85
toIterableFunction · 0.85
baseRandomFunction · 0.85
toArrayFunction · 0.70

Tested by

no test coverage detected