From 3d1cd02f27518f1a04374c7c8320cd5d82ede6e9 Mon Sep 17 00:00:00 2001 From: Minteck Date: Thu, 23 Feb 2023 19:34:56 +0100 Subject: Updated 40 files, added 37 files, deleted 1103 files and renamed 3905 files (automated) --- school/node_modules/lodash/sortedLastIndexBy.js | 33 ------------------------- 1 file changed, 33 deletions(-) delete mode 100644 school/node_modules/lodash/sortedLastIndexBy.js (limited to 'school/node_modules/lodash/sortedLastIndexBy.js') diff --git a/school/node_modules/lodash/sortedLastIndexBy.js b/school/node_modules/lodash/sortedLastIndexBy.js deleted file mode 100644 index 9225eeb..0000000 --- a/school/node_modules/lodash/sortedLastIndexBy.js +++ /dev/null @@ -1,33 +0,0 @@ -var baseIteratee = require('./_baseIteratee'), - baseSortedIndexBy = require('./_baseSortedIndexBy'); - -/** - * This method is like `_.sortedLastIndex` except that it accepts `iteratee` - * which is invoked for `value` and each element of `array` to compute their - * sort ranking. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - * @example - * - * var objects = [{ 'x': 4 }, { 'x': 5 }]; - * - * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; }); - * // => 1 - * - * // The `_.property` iteratee shorthand. - * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x'); - * // => 1 - */ -function sortedLastIndexBy(array, value, iteratee) { - return baseSortedIndexBy(array, value, baseIteratee(iteratee, 2), true); -} - -module.exports = sortedLastIndexBy; -- cgit