mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +00:00
Even more tag cleanup.
This commit is contained in:
@@ -34,7 +34,7 @@ const reHasUnescapedHtml = RegExp(reUnescapedHtml.source);
|
||||
* @category String
|
||||
* @param {string} [string=''] The string to escape.
|
||||
* @returns {string} Returns the escaped string.
|
||||
* @see unescape, escapeRegExp
|
||||
* @see escapeRegExp, unescape
|
||||
* @example
|
||||
*
|
||||
* escape('fred, barney, & pebbles');
|
||||
|
||||
2
unzip.js
2
unzip.js
@@ -16,7 +16,7 @@ const nativeMax = Math.max;
|
||||
* @category Array
|
||||
* @param {Array} array The array of grouped elements to process.
|
||||
* @returns {Array} Returns the new array of regrouped elements.
|
||||
* @see zip, zipObject, zipObjectDeep, zipWith, unzipWith
|
||||
* @see unzipWith, zip, zipObject, zipObjectDeep, zipWith
|
||||
* @example
|
||||
*
|
||||
* const zipped = zip(['a', 'b'], [1, 2], [true, false]);
|
||||
|
||||
@@ -7,7 +7,7 @@ import createCompounder from './.internal/createCompounder.js';
|
||||
* @category String
|
||||
* @param {string} [string=''] The string to convert.
|
||||
* @returns {string} Returns the upper cased string.
|
||||
* @see lowerCase, upperFirst, camelCase, kebabCase, snakeCase, startCase
|
||||
* @see camelCase, kebabCase, lowerCase, snakeCase, startCase, upperFirst
|
||||
* @example
|
||||
*
|
||||
* upperCase('--foo-bar');
|
||||
|
||||
@@ -7,7 +7,7 @@ import createCaseFirst from './.internal/createCaseFirst.js';
|
||||
* @category String
|
||||
* @param {string} [string=''] The string to convert.
|
||||
* @returns {string} Returns the converted string.
|
||||
* @see upperCase, lowerCase, camelCase, kebabCase, snakeCase, startCase
|
||||
* @see camelCase, kebabCase, lowerCase, snakeCase, startCase, upperCase
|
||||
* @example
|
||||
*
|
||||
* upperFirst('fred');
|
||||
|
||||
@@ -13,7 +13,7 @@ import isArrayLikeObject from './isArrayLikeObject.js';
|
||||
* @param {Array} array The array to inspect.
|
||||
* @param {...*} [values] The values to exclude.
|
||||
* @returns {Array} Returns the new array of filtered values.
|
||||
* @see difference, xor, xorBy, xorWith, union, unionBy, unionWith
|
||||
* @see difference, union, unionBy, unionWith, xor, xorBy, xorWith
|
||||
* @example
|
||||
*
|
||||
* without([2, 1, 2, 3], 1, 2);
|
||||
|
||||
2
xor.js
2
xor.js
@@ -12,7 +12,7 @@ import isArrayLikeObject from './isArrayLikeObject.js';
|
||||
* @category Array
|
||||
* @param {...Array} [arrays] The arrays to inspect.
|
||||
* @returns {Array} Returns the new array of filtered values.
|
||||
* @see difference, without, xorBy, xorWith, union, unionBy, unionWith
|
||||
* @see difference, union, unionBy, unionWith, without, xorBy, xorWith
|
||||
* @example
|
||||
*
|
||||
* xor([2, 1], [2, 3]);
|
||||
|
||||
2
xorBy.js
2
xorBy.js
@@ -15,7 +15,7 @@ import last from './last.js';
|
||||
* @param {...Array} [arrays] The arrays to inspect.
|
||||
* @param {Function} iteratee The iteratee invoked per element.
|
||||
* @returns {Array} Returns the new array of filtered values.
|
||||
* @see difference, without, xor, xorWith, union, unionBy, unionWith
|
||||
* @see difference, union, unionBy, unionWith, without, xor, xorWith
|
||||
* @example
|
||||
*
|
||||
* xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);
|
||||
|
||||
@@ -14,7 +14,7 @@ import last from './last.js';
|
||||
* @param {...Array} [arrays] The arrays to inspect.
|
||||
* @param {Function} [comparator] The comparator invoked per element.
|
||||
* @returns {Array} Returns the new array of filtered values.
|
||||
* @see difference, without, xor, xorBy, union, unionBy, unionWith
|
||||
* @see difference, union, unionBy, unionWith, without, xor, xorBy
|
||||
* @example
|
||||
*
|
||||
* const objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
|
||||
|
||||
2
zip.js
2
zip.js
@@ -9,7 +9,7 @@ import unzip from './unzip.js';
|
||||
* @category Array
|
||||
* @param {...Array} [arrays] The arrays to process.
|
||||
* @returns {Array} Returns the new array of grouped elements.
|
||||
* @see zipObject, zipObjectDeep, zipWith, unzip, unzipWith
|
||||
* @see unzip, unzipWith, zipObject, zipObjectDeep, zipWith
|
||||
* @example
|
||||
*
|
||||
* zip(['a', 'b'], [1, 2], [true, false]);
|
||||
|
||||
@@ -10,7 +10,7 @@ import baseZipObject from './.internal/baseZipObject.js';
|
||||
* @param {Array} [props=[]] The property identifiers.
|
||||
* @param {Array} [values=[]] The property values.
|
||||
* @returns {Object} Returns the new object.
|
||||
* @see zip, zipObjectDeep, zipWith, unzip, unzipWith
|
||||
* @see unzip, unzipWith, zip, zipObjectDeep, zipWith
|
||||
* @example
|
||||
*
|
||||
* zipObject(['a', 'b'], [1, 2]);
|
||||
|
||||
@@ -9,7 +9,7 @@ import baseZipObject from './.internal/baseZipObject.js';
|
||||
* @param {Array} [props=[]] The property identifiers.
|
||||
* @param {Array} [values=[]] The property values.
|
||||
* @returns {Object} Returns the new object.
|
||||
* @see zip, zipObject, zipWith, unzip, unzipWith
|
||||
* @see unzip, unzipWith, zip, zipObject, zipWith
|
||||
* @example
|
||||
*
|
||||
* zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);
|
||||
|
||||
@@ -11,7 +11,7 @@ import unzipWith from './unzipWith.js';
|
||||
* @param {Function} iteratee The function to combine
|
||||
* grouped values.
|
||||
* @returns {Array} Returns the new array of grouped elements.
|
||||
* @see zip, zipObject, zipObjectDeep, zipWith, unzip, unzipWith
|
||||
* @see unzip, unzipWith, zip, zipObject, zipObjectDeep, zipWith
|
||||
* @example
|
||||
*
|
||||
* zipWith([1, 2], [10, 20], [100, 200], (a, b, c) => a + b + c);
|
||||
|
||||
Reference in New Issue
Block a user