8000 Tweak `_.at` docs. · lodash/lodash@56b6d50 · GitHub
[go: up one dir, main page]

Skip to content

Commit 56b6d50

Browse files
committed
Tweak _.at docs.
Former-commit-id: 505e34b0a151287d78da73a1140d4aefdf45b43b
1 parent 506f585 commit 56b6d50

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

dist/lodash.compat.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2127,15 +2127,15 @@
21272127
/*--------------------------------------------------------------------------*/
21282128

21292129
/**
2130-
* Creates an array of elements from the specified index(es), or keys, of the
2130+
* Creates an array of elements from the specified indexes, or keys, of the
21312131
* `collection`. Indexes may be specified as individual arguments or as arrays
21322132
* of indexes.
21332133
*
21342134
* @static
21352135
* @memberOf _
21362136
* @category Collections
21372137
* @param {Array|Object|String} collection The collection to iterate over.
2138-
* @param {Array|Number|String} [index1, index2, ...] The index(es) of
2138+
* @param {Array|Number|String} [index1, index2, ...] The indexes of
21392139
* `collection` to retrieve, either as individual arguments or arrays.
21402140
* @returns {Array} Returns a new array of elements corresponding to the
21412141
* provided indexes.

dist/lodash.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1984,15 +1984,15 @@
19841984
/*--------------------------------------------------------------------------*/
19851985

19861986
/**
1987-
* Creates an array of elements from the specified index(es), or keys, of the
1987+
* Creates an array of elements from the specified indexes, or keys, of the
19881988
* `collection`. Indexes may be specified as individual arguments or as arrays
19891989
* of indexes.
19901990
*
19911991
* @static
19921992
* @memberOf _
19931993
* @category Collections
19941994
* @param {Array|Object|String} collection The collection to iterate over.
1995-
* @param {Array|Number|String} [index1, index2, ...] The index(es) of
1995+
* @param {Array|Number|String} [index1, index2, ...] The indexes of
19961996
* `collection` to retrieve, either as individual arguments or arrays.
19971997
* @returns {Array} Returns a new array of elements corresponding to the
19981998
* provided indexes.

doc/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,11 +945,11 @@ _([1, 2, 3]).valueOf();
945945
### <a id="_atcollection--index1-index2-"></a>`_.at(collection [, index1, index2, ...])`
946946
<a href="#_atcollection--index1-index2-">#</a> [&#x24C8;](https://github.com/bestiejs/lodash/blob/master/lodash.js#L2157 "View in source") [&#x24C9;][1]
947947

948-
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.
948+
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.
949949

950950
#### Arguments
951951
1. `collection` *(Array|Object|String)*: The collection to iterate over.
952-
2. `[index1, index2, ...]` *(Array|Number|String)*: The index(es) of `collection` to retrieve, either as individual arguments or arrays.
952+
2. `[index1, index2, ...]` *(Array|Number|String)*: The indexes of `collection` to retrieve, either as individual arguments or arrays.
953953

954954
#### Returns
955955
*(Array)*: Returns a new array of elements corresponding to the provided indexes.

lodash.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2134,15 +2134,15 @@
21342134
/*--------------------------------------------------------------------------*/
21352135

21362136
/**
2137-
* Creates an array of elements from the specified index(es), or keys, of the
2137+
* Creates an array of elements from the specified indexes, or keys, of the
21382138
* `collection`. Indexes may be specified as individual arguments or as arrays
21392139
* of indexes.
21402140
*
21412141
* @static
21422142
* @memberOf _
21432143
* @category Collections
21442144
* @param {Array|Object|String} collection The collection to iterate over.
2145-
* @param {Array|Number|String} [index1, index2, ...] The index(es) of
2145+
* @param {Array|Number|String} [index1, index2, ...] The indexes of
21462146
* `collection` to retrieve, either as individual arguments or arrays.
21472147
* @returns {Array} Returns a new array of elements corresponding to the
21482148
* provided indexes.

0 commit comments

Comments
 (0)
0