wrapperChain
Seq
since 0.1.0
Returns
Object the new `lodash` wrapper instance.
Creates a lodash
wrapper instance with explicit method chain sequences enabled.
Example of Lodash _.wrapperChain
var users = [
{ 'user': 'barney', 'age': 36 },
{ 'user': 'fred', 'age': 40 }
];
// A sequence without explicit chaining.
_(users).head();
// => { 'user': 'barney', 'age': 36 }
// A sequence with explicit chaining.
_(users)
.chain()
.head()
.pick('user')
.value();
// => { 'user': 'barney' }