chore: update frontend build for v1.1.82 [skip ci]

This commit is contained in:
github-actions[bot]
2025-08-06 02:27:53 +00:00
parent 2fd90c5620
commit f3787d775e
19300 changed files with 2 additions and 2351566 deletions

View File

@@ -1,24 +0,0 @@
var arraySample = require('./_arraySample'),
baseSample = require('./_baseSample'),
isArray = require('./isArray');
/**
* Gets a random element from `collection`.
*
* @static
* @memberOf _
* @since 2.0.0
* @category Collection
* @param {Array|Object} collection The collection to sample.
* @returns {*} Returns the random element.
* @example
*
* _.sample([1, 2, 3, 4]);
* // => 2
*/
function sample(collection) {
var func = isArray(collection) ? arraySample : baseSample;
return func(collection);
}
module.exports = sample;