Checks if value is classified as an Array object — a real Array instance. In Lodash 4 this matches Array.isArray. Part of Lodash Lang since 0.1.0 (stable — not deprecated).
Pass the value you want to inspect or convert. Read the return type carefully before you use the result.
Syntax
Call _.isArray. Start with this line.
Lodash
_.isArray(value)
Call
What it does
_.isArray(value)
Primary signature.
Prefer import isArray from "lodash/isArray" when you want a smaller bundle.
Type. It is still a plain object → isArray is false.
Duck typing.isArrayLike accepts the shape → true.
Pick. Use isArray when you need real Array methods.
Compatibility
Browser & Runtime Support
_.isArray is a Lodash Lang helper (available since 0.1.0, stable in 4.x). In modern engines it aligns with native Array.isArray. It runs anywhere Lodash runs — modern browsers (via CDN or bundle) and Node.js / Bun / Deno with npm install lodash.
✓ Stable · Lodash 0.1.0+
_.isArray()
Available in [email protected] full builds and the lodash/isArray modular import. 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
_.isArrayLodash 0.1.0+
Bottom line: Safe for production once Lodash is on the page or in your bundle. Prefer import isArray from "lodash/isArray" for smaller builds. Native Array.isArray is equivalent in modern runtimes when you do not need Lodash.
Frequently Asked Questions
_.isArray(value) returns true if value is classified as an Array object — a real Array instance — otherwise false.
In Lodash 4 on ordinary JavaScript runtimes, yes. Lodash forwards to Array.isArray, so results match for typical Array instances.
Array detection is not duck typing. Plain objects can look array-like but still fail _.isArray. Use _.isArrayLike if you only need indexed keys plus length.
No. Typed arrays and Arguments are different built-ins. Use _.isTypedArray or _.isArguments for those types.
Yes. _.isArray([]) is true — emptiness does not matter, only the Array type.
Use import isArray from "lodash/isArray" or require("lodash/isArray") for tree-shaking friendly bundles. Full build: import _ from "lodash" then _.isArray.