Classic function. JS builds an Arguments object → isArguments is true.
Rest parameter....args is a real Array → isArguments is false.
Prefer rest in new code. You get .map without converting.
Still useful. Use _.isArguments when older APIs may pass classic arguments.
Compatibility
Browser & Runtime Support
_.isArguments ships with Underscore.js (1.x). It runs anywhere Underscore runs — modern browsers (CDN or bundle) and Node.js / Bun / Deno with npm install underscore.
✓ Stable · Underscore 1.x
_.isArguments()
Available in [email protected] (UMD / ESM). Works in evergreen browsers and current Node LTS when Underscore is loaded. Relies on the standard Arguments object (or a legacy callee fallback in very old engines).
100%With Underscore 1.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
_.isArgumentsUnderscore 1.x+
Bottom line: Safe for production once Underscore is on the page or in your bundle. Not a native browser API — load Underscore first. Prefer a pinned CDN version (e.g. [email protected]).
Frequently Asked Questions
_.isArguments(object) returns true only when the value is an Arguments object — the special array-like object created inside a non-arrow function. Real arrays such as [1, 2, 3] return false.
arguments has a length and indexed values, so it feels like a list. It is not created by the Array constructor, so it has no .map or .filter. _.isArguments is true; _.isArray is false.
isArguments is true only for the arguments object. isArray is true only for real Array instances. They almost never both return true for the same value.
No. Rest parameters (...args) are real arrays. _.isArguments(args) is false and _.isArray(args) is true — the opposite of classic arguments.
Use _.toArray(arguments) or Array.from(arguments). After converting, _.isArray is true and you can call .map, .filter, and other array methods.
No. It is a stable Underscore 1.x helper. The arguments object is still standard JavaScript; rest parameters are simply the modern alternative in new code.