Methods on the Lodash sequence wrapper returned by _(value) or _.chain(value). They steer the pipeline: unwrap, commit, clone, reverse, or iterate. Part of Lodash 4.x Seq.
Pass the value you want to wrap or transform. Finish with .value() when the result stays wrapped.
Syntax
Use wrapper prototype methods. Start with this line.
Lodash
wrapper.value() / .commit() / .plant(value)
Call
What it does
wrapper.value() / .commit() / .plant(value)
Primary signature.
wrapper.value()
Wrap or control a Lodash sequence.
Prefer import _ from "lodash" (full build) when you need wrapper prototype helpers.
value. Executes the chain and returns a plain array.
Example 2 — .valueOf() alias
Same unwrap as .value().
Lodash
var a = _([1, 2, 3]).map(function (n) { return n + 1; }).value();
var b = _([1, 2, 3]).map(function (n) { return n + 1; }).valueOf();
JSON.stringify(a) === JSON.stringify(b);
// → true
// a and b are both [2, 3, 4]
reverse. Reverses in place (like native Array#reverse).
value. Returns the reversed array.
Pitfall.array itself is also reversed — clone first if you need the original.
Compatibility
Browser & Runtime Support
Wrapper prototype methods ship with Lodash 4.x Seq. They run anywhere full Lodash runs — modern browsers (CDN or bundle) and Node.js / Bun / Deno with npm install lodash. There is no native Lodash wrapper — use nested calls or array methods instead.
✓ Stable · Lodash 4.x
Wrapper prototype
Available on wrappers from _(value) / _.chain in [email protected] full builds. Not typical of tiny modular lodash/* imports. Works in evergreen browsers and current Node LTS when Lodash is installed.
100%With Lodash 4.x
Google ChromeSupported · Desktop & Mobile
Full support
Mozilla FirefoxSupported · Desktop & Mobile
Full support
Apple SafariSupported · macOS & iOS
Full support
Microsoft EdgeSupported · Chromium
Full support
Internet ExplorerNo native support · Use a polyfill
Polyfill
OperaSupported · Modern versions
Full support
Samsung InternetSupported · Android
Full support
BunSupported · JavaScript runtime
Supported
DenoSupported · JavaScript runtime
Supported
Node.jsSupported · Server runtime
Supported
Android WebViewSupported · Modern WebView
Full support
.value / .commit / .plantLodash 4.x full
Bottom line: Safe for production with full Lodash. Default to .value(); use commit/plant for advanced control.
Frequently Asked Questions
Methods on the sequence wrapper from _(value) or _.chain(value)—not a _.prototype() function. They unwrap, commit, clone, or iterate the chain.
.value() (alias .valueOf()) executes the chain and returns plain JavaScript data. Use it when you need the final array, object, or number.
When you want pending steps to run eagerly but keep chaining on the wrapper (hybrid pipelines).
It clones the chain at the same pipeline stage with a different wrapped value—reuse a template on new data.
Yes. Like Array.prototype.reverse, it reverses the wrapped array in place. Clone first if you need the original order.
No. Call methods on the wrapper: _(arr).map(fn).value(), not _.prototype().