mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-13 12:27:49 +00:00
Tweak _.at docs.
Former-commit-id: 505e34b0a151287d78da73a1140d4aefdf45b43b
This commit is contained in:
4
dist/lodash.compat.js
vendored
4
dist/lodash.compat.js
vendored
@@ -2127,7 +2127,7 @@
|
|||||||
/*--------------------------------------------------------------------------*/
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates an array of elements from the specified index(es), or keys, of the
|
* Creates an array of elements from the specified indexes, or keys, of the
|
||||||
* `collection`. Indexes may be specified as individual arguments or as arrays
|
* `collection`. Indexes may be specified as individual arguments or as arrays
|
||||||
* of indexes.
|
* of indexes.
|
||||||
*
|
*
|
||||||
@@ -2135,7 +2135,7 @@
|
|||||||
* @memberOf _
|
* @memberOf _
|
||||||
* @category Collections
|
* @category Collections
|
||||||
* @param {Array|Object|String} collection The collection to iterate over.
|
* @param {Array|Object|String} collection The collection to iterate over.
|
||||||
* @param {Array|Number|String} [index1, index2, ...] The index(es) of
|
* @param {Array|Number|String} [index1, index2, ...] The indexes of
|
||||||
* `collection` to retrieve, either as individual arguments or arrays.
|
* `collection` to retrieve, either as individual arguments or arrays.
|
||||||
* @returns {Array} Returns a new array of elements corresponding to the
|
* @returns {Array} Returns a new array of elements corresponding to the
|
||||||
* provided indexes.
|
* provided indexes.
|
||||||
|
|||||||
4
dist/lodash.js
vendored
4
dist/lodash.js
vendored
@@ -1984,7 +1984,7 @@
|
|||||||
/*--------------------------------------------------------------------------*/
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates an array of elements from the specified index(es), or keys, of the
|
* Creates an array of elements from the specified indexes, or keys, of the
|
||||||
* `collection`. Indexes may be specified as individual arguments or as arrays
|
* `collection`. Indexes may be specified as individual arguments or as arrays
|
||||||
* of indexes.
|
* of indexes.
|
||||||
*
|
*
|
||||||
@@ -1992,7 +1992,7 @@
|
|||||||
* @memberOf _
|
* @memberOf _
|
||||||
* @category Collections
|
* @category Collections
|
||||||
* @param {Array|Object|String} collection The collection to iterate over.
|
* @param {Array|Object|String} collection The collection to iterate over.
|
||||||
* @param {Array|Number|String} [index1, index2, ...] The index(es) of
|
* @param {Array|Number|String} [index1, index2, ...] The indexes of
|
||||||
* `collection` to retrieve, either as individual arguments or arrays.
|
* `collection` to retrieve, either as individual arguments or arrays.
|
||||||
* @returns {Array} Returns a new array of elements corresponding to the
|
* @returns {Array} Returns a new array of elements corresponding to the
|
||||||
* provided indexes.
|
* provided indexes.
|
||||||
|
|||||||
@@ -945,11 +945,11 @@ _([1, 2, 3]).valueOf();
|
|||||||
### <a id="_atcollection--index1-index2-"></a>`_.at(collection [, index1, index2, ...])`
|
### <a id="_atcollection--index1-index2-"></a>`_.at(collection [, index1, index2, ...])`
|
||||||
<a href="#_atcollection--index1-index2-">#</a> [Ⓢ](https://github.com/bestiejs/lodash/blob/master/lodash.js#L2157 "View in source") [Ⓣ][1]
|
<a href="#_atcollection--index1-index2-">#</a> [Ⓢ](https://github.com/bestiejs/lodash/blob/master/lodash.js#L2157 "View in source") [Ⓣ][1]
|
||||||
|
|
||||||
Creates an array of elements from the specified index(es), or keys, of the `collection`. Indexes may be specified as individual arguments or as arrays of indexes.
|
Creates an array of elements from the specified indexes, or keys, of the `collection`. Indexes may be specified as individual arguments or as arrays of indexes.
|
||||||
|
|
||||||
#### Arguments
|
#### Arguments
|
||||||
1. `collection` *(Array|Object|String)*: The collection to iterate over.
|
1. `collection` *(Array|Object|String)*: The collection to iterate over.
|
||||||
2. `[index1, index2, ...]` *(Array|Number|String)*: The index(es) of `collection` to retrieve, either as individual arguments or arrays.
|
2. `[index1, index2, ...]` *(Array|Number|String)*: The indexes of `collection` to retrieve, either as individual arguments or arrays.
|
||||||
|
|
||||||
#### Returns
|
#### Returns
|
||||||
*(Array)*: Returns a new array of elements corresponding to the provided indexes.
|
*(Array)*: Returns a new array of elements corresponding to the provided indexes.
|
||||||
|
|||||||
@@ -2134,7 +2134,7 @@
|
|||||||
/*--------------------------------------------------------------------------*/
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates an array of elements from the specified index(es), or keys, of the
|
* Creates an array of elements from the specified indexes, or keys, of the
|
||||||
* `collection`. Indexes may be specified as individual arguments or as arrays
|
* `collection`. Indexes may be specified as individual arguments or as arrays
|
||||||
* of indexes.
|
* of indexes.
|
||||||
*
|
*
|
||||||
@@ -2142,7 +2142,7 @@
|
|||||||
* @memberOf _
|
* @memberOf _
|
||||||
* @category Collections
|
* @category Collections
|
||||||
* @param {Array|Object|String} collection The collection to iterate over.
|
* @param {Array|Object|String} collection The collection to iterate over.
|
||||||
* @param {Array|Number|String} [index1, index2, ...] The index(es) of
|
* @param {Array|Number|String} [index1, index2, ...] The indexes of
|
||||||
* `collection` to retrieve, either as individual arguments or arrays.
|
* `collection` to retrieve, either as individual arguments or arrays.
|
||||||
* @returns {Array} Returns a new array of elements corresponding to the
|
* @returns {Array} Returns a new array of elements corresponding to the
|
||||||
* provided indexes.
|
* provided indexes.
|
||||||
|
|||||||
Reference in New Issue
Block a user