mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 08:57: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
|
||||
* of indexes.
|
||||
*
|
||||
@@ -2135,7 +2135,7 @@
|
||||
* @memberOf _
|
||||
* @category Collections
|
||||
* @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.
|
||||
* @returns {Array} Returns a new array of elements corresponding to the
|
||||
* 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
|
||||
* of indexes.
|
||||
*
|
||||
@@ -1992,7 +1992,7 @@
|
||||
* @memberOf _
|
||||
* @category Collections
|
||||
* @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.
|
||||
* @returns {Array} Returns a new array of elements corresponding to the
|
||||
* provided indexes.
|
||||
|
||||
@@ -945,11 +945,11 @@ _([1, 2, 3]).valueOf();
|
||||
### <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]
|
||||
|
||||
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
|
||||
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
|
||||
*(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
|
||||
* of indexes.
|
||||
*
|
||||
@@ -2142,7 +2142,7 @@
|
||||
* @memberOf _
|
||||
* @category Collections
|
||||
* @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.
|
||||
* @returns {Array} Returns a new array of elements corresponding to the
|
||||
* provided indexes.
|
||||
|
||||
Reference in New Issue
Block a user