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