mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
Cleanup doc formatting. [ci skip]
This commit is contained in:
27
lodash.js
27
lodash.js
@@ -5627,10 +5627,10 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates an object composed of keys generated from the results of running
|
* Creates an object composed of keys generated from the results of running
|
||||||
* each element of `collection` through `iteratee`. The corresponding
|
* each element of `collection` through `iteratee`. The corresponding value
|
||||||
* value of each key is an array of the elements responsible for generating
|
* of each key is an array of the elements responsible for generating the key.
|
||||||
* the key. The `iteratee` is bound to `thisArg` and invoked with three
|
* The `iteratee` is bound to `thisArg` and invoked with three arguments;
|
||||||
* arguments; (value, index|key, collection).
|
* (value, index|key, collection).
|
||||||
*
|
*
|
||||||
* If a property name is provided for `iteratee` the created "_.pluck" style
|
* If a property name is provided for `iteratee` the created "_.pluck" style
|
||||||
* callback returns the property value of the given element.
|
* callback returns the property value of the given element.
|
||||||
@@ -8585,10 +8585,11 @@
|
|||||||
/**
|
/**
|
||||||
* The opposite of `_.pick`; this method creates an object composed of the
|
* The opposite of `_.pick`; this method creates an object composed of the
|
||||||
* own and inherited enumerable properties of `object` that are not omitted.
|
* own and inherited enumerable properties of `object` that are not omitted.
|
||||||
* Property names may be specified as individual arguments or as arrays of property
|
* Property names may be specified as individual arguments or as arrays of
|
||||||
* names. If `predicate` is provided it is invoked for each property of `object`
|
* property names. If `predicate` is provided it is invoked for each property
|
||||||
* omitting the properties `predicate` returns truthy for. The predicate is
|
* of `object` omitting the properties `predicate` returns truthy for. The
|
||||||
* bound to `thisArg` and invoked with three arguments; (value, key, object).
|
* predicate is bound to `thisArg` and invoked with three arguments;
|
||||||
|
* (value, key, object).
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
@@ -8725,11 +8726,11 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* An alternative to `_.reduce`; this method transforms `object` to a new
|
* An alternative to `_.reduce`; this method transforms `object` to a new
|
||||||
* `accumulator` object which is the result of running each of its own
|
* `accumulator` object which is the result of running each of its own enumerable
|
||||||
* enumerable properties through `iteratee`, with each invocation potentially
|
* properties through `iteratee`, with each invocation potentially mutating
|
||||||
* mutating the `accumulator` object. The `iteratee` is bound to `thisArg`
|
* the `accumulator` object. The `iteratee` is bound to `thisArg` and invoked
|
||||||
* and invoked with four arguments; (accumulator, value, key, object). Iterator
|
* with four arguments; (accumulator, value, key, object). Iterator functions
|
||||||
* functions may exit iteration early by explicitly returning `false`.
|
* may exit iteration early by explicitly returning `false`.
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
|
|||||||
Reference in New Issue
Block a user