mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Cleanup tag order.
This commit is contained in:
@@ -8,7 +8,7 @@ import createCompounder from './.internal/createCompounder.js';
|
||||
* @category String
|
||||
* @param {string} [string=''] The string to convert.
|
||||
* @returns {string} Returns the camel cased string.
|
||||
* @see upperCase, lowerCase, upperFirst, kebabCase, snakeCase, startCase
|
||||
* @see lowerCase, kebabCase, snakeCase, startCase, upperCase, upperFirst
|
||||
* @example
|
||||
*
|
||||
* camelCase('Foo Bar');
|
||||
|
||||
@@ -15,7 +15,7 @@ const reHasRegExpChar = RegExp(reRegExpChar.source);
|
||||
* @category String
|
||||
* @param {string} [string=''] The string to escape.
|
||||
* @returns {string} Returns the escaped string.
|
||||
* @see unescape, escape, escapeRegExp
|
||||
* @see escape, escapeRegExp, unescape
|
||||
* @example
|
||||
*
|
||||
* escapeRegExp('[lodash](https://lodash.com/)');
|
||||
|
||||
@@ -11,7 +11,7 @@ import map from './map.js';
|
||||
* @param {Array|Object} collection The collection to iterate over.
|
||||
* @param {Function} iteratee The function invoked per iteration.
|
||||
* @returns {Array} Returns the new flattened array.
|
||||
* @see map, mapKeys, mapValues, flatMapDeep, flatMapDepth, flatten, flattenDeep, flattenDepth
|
||||
* @see flatMapDeep, flatMapDepth, flatten, flattenDeep, flattenDepth, map, mapKeys, mapValues
|
||||
* @example
|
||||
*
|
||||
* function duplicate(n) {
|
||||
|
||||
@@ -13,7 +13,7 @@ const INFINITY = 1 / 0;
|
||||
* @param {Array|Object} collection The collection to iterate over.
|
||||
* @param {Function} iteratee The function invoked per iteration.
|
||||
* @returns {Array} Returns the new flattened array.
|
||||
* @see map, mapKeys, mapValues, flatMap, flatMapDepth, flatten, flattenDeep, flattenDepth
|
||||
* @see flatMap, flatMapDepth, flatten, flattenDeep, flattenDepth, map, mapKeys, mapValues
|
||||
* @example
|
||||
*
|
||||
* function duplicate(n) {
|
||||
|
||||
@@ -12,7 +12,7 @@ import toInteger from './toInteger.js';
|
||||
* @param {Function} iteratee The function invoked per iteration.
|
||||
* @param {number} [depth=1] The maximum recursion depth.
|
||||
* @returns {Array} Returns the new flattened array.
|
||||
* @see map, mapKeys, mapValues, flatMap, flatMapDeep, flatten, flattenDeep, flattenDepth
|
||||
* @see flatMap, flatMapDeep, flatten, flattenDeep, flattenDepth, map, mapKeys, mapValues
|
||||
* @example
|
||||
*
|
||||
* function duplicate(n) {
|
||||
|
||||
2
gt.js
2
gt.js
@@ -9,7 +9,7 @@ import toNumber from './toNumber.js';
|
||||
* @param {*} other The other value to compare.
|
||||
* @returns {boolean} Returns `true` if `value` is greater than `other`,
|
||||
* else `false`.
|
||||
* @see lt, gte, lte
|
||||
* @see gte, lt, lte
|
||||
* @example
|
||||
*
|
||||
* gt(3, 1);
|
||||
|
||||
2
hasIn.js
2
hasIn.js
@@ -9,7 +9,7 @@ import hasPath from './.internal/hasPath.js';
|
||||
* @param {Object} object The object to query.
|
||||
* @param {Array|string} path The path to check.
|
||||
* @returns {boolean} Returns `true` if `path` exists, else `false`.
|
||||
* @see has, set, get, unset
|
||||
* @see has, get, set, unset
|
||||
* @example
|
||||
*
|
||||
* const object = create({ 'a': create({ 'b': 2 }) });
|
||||
|
||||
@@ -21,7 +21,7 @@ const nativeMax = Math.max;
|
||||
* @param {number} [fromIndex=0] The index to search from.
|
||||
* @param- {Object} [guard] Enables use as an iteratee for methods like `reduce`.
|
||||
* @returns {boolean} Returns `true` if `value` is found, else `false`.
|
||||
* @see startsWith, endsWith
|
||||
* @see endsWith, startsWith
|
||||
* @example
|
||||
*
|
||||
* includes([1, 2, 3], 1);
|
||||
|
||||
@@ -10,7 +10,7 @@ import toInteger from './toInteger.js';
|
||||
* @category Lang
|
||||
* @param {*} value The value to check.
|
||||
* @returns {boolean} Returns `true` if `value` is an integer, else `false`.
|
||||
* @see toInteger, isNumber, toNumber
|
||||
* @see isNumber, toInteger, toNumber
|
||||
* @example
|
||||
*
|
||||
* isInteger(3);
|
||||
|
||||
@@ -8,7 +8,7 @@ import createCompounder from './.internal/createCompounder.js';
|
||||
* @category String
|
||||
* @param {string} [string=''] The string to convert.
|
||||
* @returns {string} Returns the kebab cased string.
|
||||
* @see upperCase, lowerCase, upperFirst, camelCase, snakeCase, startCase
|
||||
* @see camelCase, lowerCase, snakeCase, startCase, upperCase, upperFirst
|
||||
* @example
|
||||
*
|
||||
* kebabCase('Foo Bar');
|
||||
|
||||
@@ -7,7 +7,7 @@ import createCompounder from './.internal/createCompounder.js';
|
||||
* @category String
|
||||
* @param {string} [string=''] The string to convert.
|
||||
* @returns {string} Returns the lower cased string.
|
||||
* @see upperCase, upperFirst, camelCase, kebabCase, snakeCase, startCase
|
||||
* @see camelCase, kebabCase, snakeCase, startCase, upperCase, upperFirst
|
||||
* @example
|
||||
*
|
||||
* lowerCase('--Foo-Bar--');
|
||||
|
||||
2
lt.js
2
lt.js
@@ -9,7 +9,7 @@ import toNumber from './toNumber.js';
|
||||
* @param {*} other The other value to compare.
|
||||
* @returns {boolean} Returns `true` if `value` is less than `other`,
|
||||
* else `false`.
|
||||
* @see gt, lte, gte
|
||||
* @see gt, gte, lte
|
||||
* @example
|
||||
*
|
||||
* lt(1, 3);
|
||||
|
||||
Reference in New Issue
Block a user