diff options
author | Nevena Bojovic <nenabojov@gmail.com> | 2022-03-01 22:05:25 +0100 |
---|---|---|
committer | Nevena Bojovic <nenabojov@gmail.com> | 2022-03-01 22:05:25 +0100 |
commit | 6555fb80fdd8f6a5d201efadec3189d1244830a0 (patch) | |
tree | c1aa1c5aedc634ad1ea7fad4847884d559b51290 /sandbox/testAppNevena/Front/node_modules/lodash/sample.js | |
parent | 7d3640f824f46490b47bd95f1c5a16644f712068 (diff) |
Izbrisala bin, obj i node-modules.
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/lodash/sample.js')
-rw-r--r-- | sandbox/testAppNevena/Front/node_modules/lodash/sample.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/lodash/sample.js b/sandbox/testAppNevena/Front/node_modules/lodash/sample.js deleted file mode 100644 index 39c35604..00000000 --- a/sandbox/testAppNevena/Front/node_modules/lodash/sample.js +++ /dev/null @@ -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; |