mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +00:00
Clarify implicit chaining in the lodash docs. [ci skip]
This commit is contained in:
@@ -848,11 +848,11 @@
|
||||
/**
|
||||
* Creates a `lodash` object which wraps `value` to enable implicit chaining.
|
||||
* Methods that operate on and return arrays, collections, and functions can
|
||||
* be chained together. Methods that return a boolean or single value will
|
||||
* automatically end the chain returning the unwrapped value. Explicit chaining
|
||||
* may be enabled using `_.chain`. The execution of chained methods is lazy,
|
||||
* that is, execution is deferred until `_#value` is implicitly or explicitly
|
||||
* called.
|
||||
* be chained together. Methods that retrieve a single value or may return a
|
||||
* primitive value will automatically end the chain returning the unwrapped
|
||||
* value. Explicit chaining may be enabled using `_.chain`. The execution of
|
||||
* chained methods is lazy, that is, execution is deferred until `_#value`
|
||||
* is implicitly or explicitly called.
|
||||
*
|
||||
* Lazy evaluation allows several methods to support shortcut fusion. Shortcut
|
||||
* fusion is an optimization strategy which merge iteratee calls; this can help
|
||||
|
||||
Reference in New Issue
Block a user