mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 23:37:49 +00:00
More tag cleanup.
This commit is contained in:
@@ -15,7 +15,7 @@ import isArrayLikeObject from './isArrayLikeObject.js';
|
||||
* @param {Array} array The array to inspect.
|
||||
* @param {...Array} [values] The values to exclude.
|
||||
* @returns {Array} Returns the new array of filtered values.
|
||||
* @see without, xor, xorBy, xorWith, union, unionBy, unionWith
|
||||
* @see union, unionBy, unionWith, without, xor, xorBy, xorWith,
|
||||
* @example
|
||||
*
|
||||
* difference([2, 1], [2, 3]);
|
||||
|
||||
@@ -8,7 +8,7 @@ import createCompounder from './.internal/createCompounder.js';
|
||||
* @category String
|
||||
* @param {string} [string=''] The string to convert.
|
||||
* @returns {string} Returns the snake cased string.
|
||||
* @see upperCase, lowerCase, upperFirst, camelCase, kebabCase, startCase
|
||||
* @see camelCase, lowerCase, kebabCase, startCase, upperCase, upperFirst
|
||||
* @example
|
||||
*
|
||||
* snakeCase('Foo Bar');
|
||||
|
||||
@@ -9,7 +9,7 @@ import upperFirst from './upperFirst.js';
|
||||
* @category String
|
||||
* @param {string} [string=''] The string to convert.
|
||||
* @returns {string} Returns the start cased string.
|
||||
* @see upperCase, lowerCase, upperFirst, camelCase, kebabCase, snakeCase
|
||||
* @see camelCase, lowerCase, kebabCase, snakeCase, upperCase, upperFirst
|
||||
* @example
|
||||
*
|
||||
* startCase('--foo-bar--');
|
||||
|
||||
@@ -13,7 +13,7 @@ import toString from './toString.js';
|
||||
* @param {number} [position=0] The position to search from.
|
||||
* @returns {boolean} Returns `true` if `string` starts with `target`,
|
||||
* else `false`.
|
||||
* @see includes, endsWith
|
||||
* @see endsWith, includes
|
||||
* @example
|
||||
*
|
||||
* startsWith('abc', 'a');
|
||||
|
||||
2
union.js
2
union.js
@@ -11,7 +11,7 @@ import isArrayLikeObject from './isArrayLikeObject.js';
|
||||
* @category Array
|
||||
* @param {...Array} [arrays] The arrays to inspect.
|
||||
* @returns {Array} Returns the new array of combined values.
|
||||
* @see unionBy, unionWith, difference, without, xor, xorBy
|
||||
* @see difference, unionBy, unionWith, without, xor, xorBy
|
||||
* @example
|
||||
*
|
||||
* union([2], [1, 2]);
|
||||
|
||||
@@ -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 combined values.
|
||||
* @see union, unionWith, difference, without, xor, xorBy
|
||||
* @see difference, union, unionWith, without, xor, xorBy
|
||||
* @example
|
||||
*
|
||||
* unionBy([2.1], [1.2, 2.3], 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 combined values.
|
||||
* @see union, unionBy, difference, without, xor, xorBy
|
||||
* @see difference, union, unionBy, without, xor, xorBy
|
||||
* @example
|
||||
*
|
||||
* const objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
|
||||
|
||||
2
unset.js
2
unset.js
@@ -10,7 +10,7 @@ import baseUnset from './.internal/baseUnset.js';
|
||||
* @param {Object} object The object to modify.
|
||||
* @param {Array|string} path The path of the property to unset.
|
||||
* @returns {boolean} Returns `true` if the property is deleted, else `false`.
|
||||
* @see has, set, get
|
||||
* @see get, has, set
|
||||
* @example
|
||||
*
|
||||
* const object = { 'a': [{ 'b': { 'c': 7 } }] };
|
||||
|
||||
Reference in New Issue
Block a user